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 · 1 comment
Open

Unify the command line API #292

kwinkunks opened this issue Jan 6, 2023 · 1 comment

Comments

@kwinkunks
Copy link
Member

kwinkunks commented Jan 6, 2023

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.

@eivindjahren eivindjahren added the christmas-review Issues and PRs for Christmas review label Dec 13, 2024
@jonathan-eq jonathan-eq removed the christmas-review Issues and PRs for Christmas review label Dec 17, 2024
@sondreso sondreso added this to SCOUT Jan 3, 2025
@semafor
Copy link

semafor commented Jan 5, 2025

Yes, this would be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

4 participants