CLI - matsjoyce/specter GitHub Wiki
The CLI
Command line options:
-h,--help- show this help message and exit-d,--debug- debug level (repeat for more info, 3 is the max)-f FILE,--file FILE- lmc file (optional, as the user will be promoted otherwise)-l,--licence- display licence-V,--version- display version
Debugging
specter comes with several debugging levels (the layers stack, so the information about layers above applies):
- This is the default. No debug information is printed.
- The current instruction is printed, along with the action it will perform.
- Stuff from level 1, and the memory, accumulator and instruction counter is also printed at each step.
- Stuff from level 2, and prints numeric code of current instruction, and other information which is probably not useful.
The debug level can be set by repeating the -d command line flag.
Also see: The GUI