35 Commits (40263f4d6aaf7383fb53bd97a5c34c02be39eda8)

Author SHA1 Message Date
Robert Liebowitz cbbe4c1a2c Add tests for custom flag prefix/env hints
7 years ago
Jesse Szwedko 8d8f927bcb Change flag test error checking to use regexp rather than strings
7 years ago
Jesse Szwedko e367fafa3d Return an error when parsing environment variables for values fails
8 years ago
Jesse Szwedko a00c3f5872 Consider empty environment variables as set
8 years ago
Dan Buch a0e694ed72
Add UintFlag, Uint64Flag types and supporting code
8 years ago
Bruno França dos Reis 5c7cca7f16 Adding Int64Slice related stuff in flag.go and context.go, and related tests
8 years ago
Bruno França dos Reis 4962423cba Adding Int64Flag type and related tests
8 years ago
Dan Buch 69a8e25f3d
Make flag usage rendering more consistent; show default values
8 years ago
Dan Buch 22773b14c1
Allow for pluggable flag-level help text formatting
8 years ago
Dan Buch 23c7b807a7
Merge remote-tracking branch 'origin/master' into txgruppi-develop
8 years ago
Dan Buch b7329f4968
Switch from multi-return with exit codes to ExitCoder check
8 years ago
Dan Buch 10c8309d84
Merge branch 'develop' of https://github.com/txgruppi/cli into txgruppi-develop
8 years ago
Kevin Cantwell 13b7eedc13 Parses usage placeholders via back quotes. Resolves #333
8 years ago
Gregor Noczinski 82ddbd9a07 * Improve GenericFlag.String() by suppressing empty "" for GenericFlags on nil or empty Generic.String()
8 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
10 years ago
jszwedko 22dbe6ffdc Fix help text for generic flag to not insinuate that you can specify multiple
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
10 years ago
Summer Mousa 13e88629f5 Generic parsers as flag types
10 years ago
Ryan Schmukler 312151dca4 remove quotes for empty StringFlags
10 years ago
Yicheng Qin ce13660ae0 fix(context): copy StringSlice Flag correctly
10 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