[Maintenance] Use arg-parsing lib #21

Closed
opened 2020-12-15 23:01:11 +01:00 by p.karagiannis · 1 comment
Member

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.

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.
p.karagiannis added the
Backend
label 2020-12-15 23:01:17 +01:00
Owner

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.

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.
Sign in to join this conversation.
No description provided.