cli
cli copied to clipboard
A simple, fast, and fun package for building command line apps in Go
## Checklist * [x] Are you running the latest v2 release? The list of releases is [here](https://github.com/urfave/cli/releases). * [x] Did you check the manual for your release? The v2 manual...
The following check prevents one from explicitly setting a `bool` flag to `false` when using an `altsrc` input: https://github.com/urfave/cli/blob/c11460548df8d468af55d678ccccf50e970e71b1/altsrc/flag.go#L129 This can cause issues (for example) if the default value from...
## What type of PR is this? - bug - feature ## What this PR does / why we need it: This change adds JSON wrapping generic capability to allow...
As per POSIX's recommendations, diagnostics and error messages should always be printed to the /dev/stderr. Forked from https://github.com/urfave/cli/pull/1203 ## What type of PR is this? - bug ## What this...
## What type of PR is this? - cleanup ## What this PR does / why we need it: This is one of the first goals for the v3 release...
Reading the value or checking for presence looks at the most specific subcommand that includes the flag on the command line. ## What type of PR is this? - feature...
## What type of PR is this? - cleanup ## What this PR does / why we need it: In response to the discussion here (https://github.com/urfave/cli/issues/833#issuecomment-574171962) this is an attempt...
## my urfave/cli version is v2 ## Checklist * [x] Are you running the latest v2 release? The list of releases is [here](https://github.com/urfave/cli/releases). * [x] Did you check the manual...
Hello community, My aim is to have some global flags that can be inserted anywhere. The code below registers the `admin` command which has a sub-command `service` which itself has...
## my urfave/cli version is 2.2.0 ## Checklist * [X] Are you running the latest v2 release? The list of releases is [here](https://github.com/urfave/cli/releases). * [X] Did you check the manual...