Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

Commit 35a9115

Browse files
committed
adding -h add-ons to basic-user mode
1 parent facca91 commit 35a9115

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

terminal.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ def handle_command(command):
9393
return pmdmcalc()
9494
elif command == "super":
9595
return supercommand()
96+
elif command == "help -h":
97+
return "Help is a command that let's you see all the commands in PyTerm."
98+
elif command == "exit -h":
99+
return "Exit is a command that sends you back to bash. Basically it just ends the program."
100+
elif command == "info -h":
101+
return "Info is a command that let's you see all info-data about PyTerm."
102+
elif command == "pmdm -h":
103+
return "PMDMcalc is my own project, and now it is integrated with PyTerm! The PMDM command let's you use PMDMcalc directly from the PyTerm application."
104+
elif command == "super -h":
105+
return "Super command activates supermode that let's you use supercommands. It's like sudo but not."
96106
else:
97107
return "PyTerm: unknown command"
98108

0 commit comments

Comments
 (0)