Update 'shell.py'
This commit is contained in:
parent
8a8c8ec758
commit
da125b1033
5
shell.py
5
shell.py
|
@ -55,6 +55,9 @@ def pclish_cd(path):
|
|||
except Exception:
|
||||
print("cd: no such file or directory: {}".format(path))
|
||||
|
||||
def pclish_echo
|
||||
txt = input("What would you like to echo?:\n")
|
||||
echo(txt)
|
||||
|
||||
def pclish_help():
|
||||
print("""pclish: here are the commands available
|
||||
|
@ -106,6 +109,8 @@ def main():
|
|||
pclish_shtdwnsubsys()
|
||||
elif inp == "system":
|
||||
pclish_system()
|
||||
elif inp = "echo":
|
||||
pclish_echo()
|
||||
else:
|
||||
execute_command(inp)
|
||||
|
||||
|
|
Loading…
Reference in New Issue