aai-institute / aai-institute/jobq

Factor out CLI command-related functionality into a command class

オープン
#70 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。