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

Migrate CLI to https://github.com/spf13/cobra #992

Open
chrisdostert opened this issue Dec 16, 2021 · 0 comments
Open

Migrate CLI to https://github.com/spf13/cobra #992

chrisdostert opened this issue Dec 16, 2021 · 0 comments
Assignees
Labels
proposal Proposed change to the project

Comments

@chrisdostert
Copy link
Contributor

chrisdostert commented Dec 16, 2021

💥 Proposal

Currently we use github.com/jawher/mow.cli as our CLI framework.

this comes with a few shortcomings that would be nice to overcome; namely:

  • no "did you mean [similar command]" when someone typos the command
  • no man page generation
  • no shell completion generation
  • no arbitrary option placement; mow.cli requires you specify a spec for each command, inclusive of opts and args. It doesn't support providing the opts and args out of order. This is sortof a non-ideal UX.
  • not as actively maintained or popular as other go CLI frameworks like cobra

It's proposed we move to https://github.com/spf13/cobra which gives us all of the above.

@chrisdostert chrisdostert added the proposal Proposed change to the project label Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Proposed change to the project
Projects
None yet
Development

No branches or pull requests

2 participants