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

Commits on Nov 18, 2021

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

    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.
    hhhapz committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    81d328e View commit details
    Browse the repository at this point in the history