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

fix(core): generic solution for issue #111 for all command groups #218

Merged
merged 1 commit into from
Jul 3, 2019

Commits on Jul 3, 2019

  1. fixes(issue knative#111) generically for all command groups

    Explores all sub-commands from root and adds a RunE for all
    commands that are groups with child commands and without a RunE.
    The added RunE will return the correct errors when the command
    is called with empty sub-command or with an unknown sub-command.
    It will also print the command help message first.
    
    Added a gotest.tools test for root.go.
    maximilien committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    45db720 View commit details
    Browse the repository at this point in the history