aboutsummaryrefslogtreecommitdiff
path: root/src/gpt_chat_cli/main.py
Commit message (Collapse)AuthorAgeFilesLines
* Add magic PYTHON_ARGCOMPLETE_OK to code to trigger init during installflu0r1ne2023-05-091-0/+6
|
* Rewrote the argparsing functionality to enable autocompletion via the ↵flu0r1ne2023-05-091-0/+38
"kislyuk/argcomplete" package. This essentially means: - `argparsing.py` does a minimal amount of work to initialize the arg parser. Then it attempts dynamic completion. - `argvalidation.py` processes the raw arguments parsed in `argparsing.py`, validates them, issues warnings (if required), and splits them into logical groupings - Commands in `gcli.py` have been moved to `cmd.py` - `main.py` provides an initial control path to call these functions in succession