aai-institute / aai-institute/jobq

Factor out CLI command-related functionality into a command class

Open
#70 0 comments 0 reactions 1 assignee Claimed by @nicholasjng View on GitHub
client
Dominant language
Python
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.