cli
cli copied to clipboard
A simple, fast, and fun package for building command line apps in Go
## What type of PR is this? _(REQUIRED)_ - bug ## What this PR does / why we need it: _(REQUIRED)_ ## Which issue(s) this PR fixes: _(REQUIRED)_ Fixes #557...
## What problem does this solve? This would solve people creating issues about unexpected behavior from the `StringSliceFlag`, like these ones: - https://github.com/urfave/cli/issues/910 - https://github.com/urfave/cli/issues/1003 ## Solution description Add an...
## What type of PR is this? _(REQUIRED)_ - cleanup ## What this PR does / why we need it: _(REQUIRED)_ Current code path requires almost similar code is three...
This issue may be related to #163. Here is the source code (`bug.go`, also available at [The Go Playground](https://play.golang.org/p/H80jY3BWX4)) for the bug report: ```go package main import ( "os" "gopkg.in/urfave/cli.v1"...
## What type of PR is this? _(REQUIRED)_ - bug - cleanup - documentation - feature ## What this PR does / why we need it: _(REQUIRED)_ ## Which issue(s)...
I've been trying to place generic arguments first when running a cli command, like this: `testrun aaa -lang spanish` Following along the spanish example in the tutorial [here](https://cli.urfave.org/v2/#full-api-example) What I...
## my urfave/cli version is _**( v2.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...
## my urfave/cli version is _**( v.2.3.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...
Hello! I need the "-h" flag for my command ,so I set the HelpFlag to "help",without "h".But it turned out that "-h" still show for help which is not I...
I copied some code from the tests and got this: ```go func main() { cli.HelpPrinter = func(w io.Writer, templ string, data interface{}) { funcMap := map[string]interface{}{ "wrapAt": func() int {...