summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SPEC10
1 files changed, 8 insertions, 2 deletions
diff --git a/SPEC b/SPEC
index bada924..57b23c8 100644
--- a/SPEC
+++ b/SPEC
@@ -1,7 +1,13 @@
1. Upon starting, PiSH shall output two dashes.
2. Upon needing input, PiSH shall output a dot.
3. Upon receiving an invalid command, PiSH shall output two dots.
-4. Upon receiving a valid command and beginnin execution, PiSH shall output a dash.
+4. Upon receiving a valid command and beginning execution, PiSH shall output a dash.
5. Upon the failure of a command, two dots shall be outputted.
6. Upon the sucess of a command, a dash shall be outputted.
-7. After a command has either failed or completed, PiSH will wait for one second before awaiting input again. \ No newline at end of file
+7. After a command has either failed or completed, PiSH will wait for one second before awaiting input again.
+8. Built-in commands shall be:
+ - exit - return to the OS
+ - morse STRING - transmit STRING in Morse code
+ - exec CMD [ARGS] - execute the shell command CMD with the arguments ARGS in the current working directory
+ - cd PATH - change the current working directory to PATH
+ - pwd - transmit the current working directory in Morse code \ No newline at end of file