aboutsummaryrefslogtreecommitdiff
path: root/src/gpt_chat_cli/main.py
AgeCommit message (Collapse)AuthorLines
2023-05-09Add magic PYTHON_ARGCOMPLETE_OK to code to trigger init during installFurkan Sahin-0/+6
2023-05-09Rewrote the argparsing functionality to enable autocompletion via the ↵Furkan Sahin-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