Currently the command syntax `q [command] TEXT [options]` requires all commands to take input text, and all options to be boolean flags. Rewrite the arg parsing logic to enable the following features: - [ ] Commands are not required to take input text. This will unblock the following issues: - #4 - [ ] Options can take arguments. This will unblock the following issues: - #5 - #7 - [ ] Enable certain options to run without commands or input text. This will unblock the following issues: - #12 - [ ] Re-order the command syntax to `q [options] [command] [TEXT]` to continue enabling entering input text without requiring quotes.
Currently the command syntax
q [command] TEXT [options]requires all commands to take input text, and all options to be boolean flags.Rewrite the arg parsing logic to enable the following features:
-swith no input text to read previous command output #4-foption to read input from an input file as context #5-owith-zand take an integer number of conversation turns to undo #7-vto run alone #12q [options] [command] [TEXT]to continue enabling entering input text without requiring quotes.