aai-institute / aai-institute/jobq
Factor out CLI command-related functionality into a command class
Aberta
client
- Linguagem predominante
- Python
- Estrelas
- 4
- Forks
- 1
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
As per title. There is precedent for this in several widely used CLI libraries like `pip` (which has the `CLICommand` class).
What I am thinking of is mostly things like contextual organization around commands, a `Command.run(args: argparse.Namespace)` method, and perhaps some validation of an argparse namespace received by the command.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.