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 还没有评估数据。