Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify the command line API #292

Open
kwinkunks opened this issue Jan 6, 2023 · 0 comments
Open

Unify the command line API #292

kwinkunks opened this issue Jan 6, 2023 · 0 comments

Comments

@kwinkunks
Copy link
Member

Komodo currently consists of several different CLIs implemented by entry points (e.g. kmd, komodo-lint-maturity, etc) and at least one CLI in an unregistered standalone script (e.g. maintainer.py, see #291). All of the CLIs are implemented with argparse`, which has a few quirks (eg see #279) and has no built-in support for, e.g. rich terminal output.

It might be a nicer user experience, and more maintainable, to unify the API under one command (kmd or komodo, say), with the other functionality implemented as subcommands, e.g. kmd lint-maturity instead of komodo-lint-maturity.

Potentially we can start modernizing before refactoring, e.g. by making new commands/CLIs with a more flexible framework, e.g. click or rich-cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant