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

Allow Ignoring Usage Errors #656

Closed
wants to merge 2 commits into from

Commits on Aug 7, 2017

  1. Allow Ignoring Usage Errors

    In some rare cases, it's handy to allow the application to handle
    use-case errors in other ways, without requiring an error to be
    returned. This allows the application written to handle the usage
    error in other ways. Or, allow the application to pass the flags
    on to subsequent child processes regardless of the host application's
    flag parsing.
    
    ```
    $ go test -run="TestApp_IgnoreOnUsageError"
    PASS
    ok      github.com/grubernaut/cli       0.001s
    ```
    grubernaut committed Aug 7, 2017
    Configuration menu
    Copy the full SHA
    5071ccf View commit details
    Browse the repository at this point in the history
  2. Add example to README

    grubernaut committed Aug 7, 2017
    Configuration menu
    Copy the full SHA
    103934a View commit details
    Browse the repository at this point in the history