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

refactor(cli): Migrate from alecthomas/kingpin to spf13/cobra. #348

Merged
merged 1 commit into from Nov 18, 2021

Conversation

hhhapz
Copy link
Collaborator

@hhhapz hhhapz commented Nov 18, 2021

This change migrates all of the current CLI code (and related tests) to
now use cobra. All functionality should stay identical with the flags.

The only changes present within the tests are the formatting of specific
errors, and how they differ between kingpin/cobra.

One potential breaking change that could impact users is that all
gunk help... commands now print to stdout, even if invalid. This is
not true for other errors, so it probably should not break any real
world applications.

This change can be linked back to spf13/cobra#1002.

This change migrates all of the current CLI code (and related tests) to
now use cobra. All functionality should stay identical with the flags.

The only changes present within the tests are the formatting of specific
errors, and how they differ between kingpin/cobra.

One potential breaking change that could impact users is that all
`gunk help...` commands now print to stdout, even if invalid. This is
not true for other errors, so it probably should not break any real
world applications.

This change can be linked back to spf13/cobra#1002.
@kenshaw kenshaw merged commit 81d328e into gunk:master Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants