aai-institute / aai-institute/jobq
Factor out CLI command-related functionality into a command class
Aperta
client
- Lingua principale
- Python
- Stelle
- 4
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.