Update 'shell.py'

This commit is contained in:
JaydenMW 2021-02-14 03:34:00 +01:00
parent 8a8c8ec758
commit da125b1033
1 changed files with 120 additions and 115 deletions

View File

@ -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)