aai-institute / aai-institute/jobq

Factor out CLI command-related functionality into a command class

未关闭
#70 0 条评论 0 个 reaction 已指派 1 人 已被 @nicholasjng 认领 在 GitHub 查看
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。