Dan Buch
23c7b807a7
Merge remote-tracking branch 'origin/master' into txgruppi-develop
9 years ago
Dan Buch
b7329f4968
Switch from multi-return with exit codes to ExitCoder check
9 years ago
Dan Buch
10c8309d84
Merge branch 'develop' of https://github.com/txgruppi/cli into txgruppi-develop
9 years ago
Kevin Cantwell
13b7eedc13
Parses usage placeholders via back quotes. Resolves #333
9 years ago
Dan Buch
cb433e7468
Use NewIntSlice and NewStringSlice internally
9 years ago
Dan Buch
867aa0912d
Overwrite slice flag defaults when set
...
Closes #160
9 years ago
Gregor Noczinski
82ddbd9a07
* Improve GenericFlag.String() by suppressing empty "" for GenericFlags on nil or empty Generic.String()
...
* Cleanup StringFlag.String()
* Add os specific envHint handling for Windows (%ENV_VAR% instead of $ENV_VAR on posix systems)
9 years ago
ston1th
25ef368235
added destination scan testing and BoolT
9 years ago
Tarcísio Gruppi
1510d7e722
Updated tests to support exit code
9 years ago
Edward Sheffler III
8ea1232ede
Improve vendoring options by removing self-referential imports in tests.
9 years ago
jszwedko
059c02782a
Use double quotes in output for defaults
...
Windows doesn't recognize 's for wrapping values. "s should work on all
systems.
10 years ago
jszwedko
22dbe6ffdc
Fix help text for generic flag to not insinuate that you can specify multiple
...
Feels like it may have been copied from StringSliceFlag or something,
but update the output to be more consistent with other single value
flags.
Also added comments to the String and Apply functions.
10 years ago
Dan Buch
78d497e4cf
Adding support for multiple env var "cascade"
10 years ago
Ghislain Gt
98af61a59f
Add time.Duration flag type
10 years ago
Dan Buch
48869e13a4
Addressing `go vet` offenses
10 years ago
Dan Buch
fc16c67be3
Updating structs to use labels, adding tests for env stuff
10 years ago
Summer Mousa
1eaa882c3a
removed extranneous value method on the generic type
11 years ago
Summer Mousa
13e88629f5
Generic parsers as flag types
11 years ago
Ryan Schmukler
312151dca4
remove quotes for empty StringFlags
11 years ago
Yicheng Qin
ce13660ae0
fix(context): copy StringSlice Flag correctly
11 years ago
Katrina Owen
2ec51afe91
Implement Float64Flag. See #46
11 years ago
Jeremy Saenz
806cdc2890
removed dead test
11 years ago
Jeremy Saenz
ab6f1b7c3c
Formatting
11 years ago
Jared Forsyth
dc8a62e0e9
refactor, more robust flag propagation
11 years ago
Jared Forsyth
73e88630a5
fmt
11 years ago
Jared Forsyth
ccb1528bb0
adding multi-named flags
11 years ago
Jeremy Saenz
0d3c3f4497
Improved documentation
11 years ago
Mike Gehard
1a1d6bd163
Vary flag prefix based on name length
11 years ago