Add a "quiet" mode.

This brings the Python Joy interpreter into better congruence with the
Nim interpreter for ease of automated testing.
This commit is contained in:
Simon Forman
2021-04-06 11:28:30 -07:00
parent 1cf82b8bcb
commit c00c6a4e32
3 changed files with 37 additions and 3 deletions
+6
View File
@@ -64,6 +64,12 @@ To start a crude REPL:
python -m joy
There is a "quiet" mode for e.g. using joy from a shell script:
python -m joy -q
This supresses the initial banner output and the prompt text.
§.3 Documentation