[Maintenance] Use arg-parsing lib #21
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In order to make expansion of the app less painful, it would be better if a arg-parsing lib is used for the cli. Python has a built in arg-parsing tool, but I recommend
typer
. It can use Python3.5+ type hints to make help messages even more helpful, it can use the arguments of a function as the arguments of the cli, and can even generate autocomplete stubs for many shells.I really don't think this is necessary since
ftracker
is not meant to be run from CLI in production. The only argument exists solely for debugging purposes and could just as well be removed. I don't expect further CLI options since all customization happens via the config file.