CoilSnake's command line interface is only usable via the source code. This branch adds the ability for the CLI to be accessed through an executable binary.
This changes CoilSnake.spec to no longer consider the program windowed, instead making it a console application with the extra option hide_console='hide-early' set. In script/gui.py, the entry file of the binary, a check is added which will switch to CLI mode (script/cli.py) if extra arguments are passed, and skip running the GUI entirely.
Booting CoilSnake from File Explorer, the taskbar, etc. will have the same functionality - the GUI will open with no console window.
Booting CoilSnake from Command Prompt with no arguments will boot the GUI, with it now being a blocking process.
Booting CoilSnake from Command Prompt with arguments will use the CLI instead.
CoilSnake's command line interface is only usable via the source code. This branch adds the ability for the CLI to be accessed through an executable binary.
This changes CoilSnake.spec to no longer consider the program windowed, instead making it a console application with the extra option
hide_console='hide-early'
set. In script/gui.py, the entry file of the binary, a check is added which will switch to CLI mode (script/cli.py) if extra arguments are passed, and skip running the GUI entirely.