gpt-pilot
gpt-pilot copied to clipboard
refactor `arguments.py` to use `argparse`
argparse
makes it easier to provide help/documentation on the command line and also provides choices
, default
and type
It also returns an object rather than a dict. There are currently arg options scattered throughout the code which are not mentioned in arguements.py
I'd like to work on this issue.
Why not use typer for an even better experience, auto documented cli and IMHO much more beautiful.
how to access this file arguments.py?
@Charu-Mittal12 https://github.com/Pythagora-io/gpt-pilot/blob/main/pilot/utils/arguments.py
how about using Fire - https://github.com/google/python-fire