aai-institute / aai-institute/jobq
Factor out CLI command-related functionality into a command class
オープン
client
- 主要言語
- Python
- スター
- 4
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
評価
この issue はまだ評価されていません。