Skip to content

Commit aee428f

Browse files
committed
Basic upload
Signed-off-by: Alex Kollar <[email protected]>
1 parent e27dc04 commit aee428f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

chip.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/python3
2+
import subprocess
3+
from typing import List
4+
from navi_shell import tr, get_ai_name, llm_chat, get_user
5+
from navi import get_ip_address, get_hostname, get_parameters, get_command_path
6+
7+
8+
command = "Example_Chip"
9+
use = "A simple chip for testing."
10+
aliases = ['--exchip']
11+
12+
navi = None
13+
14+
def append_text(self, text="Hello world!"):
15+
self.text_edit.append(text)
16+
17+
def set_navi_instance(self,navi_instance):
18+
global navi
19+
navi = navi_instance
20+
21+
def run(arguments=None):
22+
set_navi_instance()
23+
append_text()

0 commit comments

Comments
 (0)