194 Commits (main)

Author SHA1 Message Date
jhowarth a6482d2687 Merge remote-tracking branch 'upstream/master'
9 years ago
jszwedko 44d40054fa Use 0 as the base when parsing ints
9 years ago
Sam Zaydel ef23aa6da2 strconv.ParseInt should be used instead of strconv.ParseUint when reading Int Flags from envvars.
9 years ago
jszwedko 059c02782a Use double quotes in output for defaults
9 years ago
Dan Buch 21d399c3fa Merge pull request #166 from codegangsta/fix-generic-flag-help-text
9 years ago
Dan Buch 5b9e204508 Merge pull request #153 from codegangsta/allow-hiding-of-help-flag
9 years ago
jszwedko 22dbe6ffdc Fix help text for generic flag to not insinuate that you can specify multiple
9 years ago
Jesse Howarth and Michael Ivey 73e64a14fd Add (required) to help of flags that are required.
10 years ago
Jesse Howarth and Michael Ivey 7e05320026 Implement required flags
10 years ago
jszwedko 780f839a02 Allow hiding of help flag without hiding help subcommand
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 fc16c67be3 Updating structs to use labels, adding tests for env stuff
10 years ago
Dan Buch 97fd93272f Starting to hack in some env var configuration goodness
10 years ago
Jeremy Saenz bb9189510a Merge pull request #81 from zenoss/upstream/feature/generic-flags
10 years ago
Summer Mousa a911ec75e4 Can now change these default flags in other applications
10 years ago
Pekka Enberg 646b290d5d Make StringSliceFlag usage text consistent
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
Jeremy Saenz 640826c88f Merge pull request #78 from zenoss/feature/bash-completion
10 years ago
Summer Mousa 3a10545f91 Made bash completion command optional; still need to update documentation
10 years ago
Ryan Schmukler 312151dca4 remove quotes for empty StringFlags
10 years ago
Yicheng Qin 5903a0a844 Add BoolTFlag type
10 years ago
Katrina Owen dde48a57c9 Standardize import statements
11 years ago
Katrina Owen 2ec51afe91 Implement Float64Flag. See #46
11 years ago
Ryan S. Brown 28cf49a4ca string slice flag option formatting
11 years ago
Jeremy Saenz ab6f1b7c3c Formatting
11 years ago
Jeremy Saenz 4120b604ec Removed help flag. we no longer need it.
11 years ago
Jared Forsyth dc8a62e0e9 refactor, more robust flag propagation
11 years ago
Jared Forsyth ccb1528bb0 adding multi-named flags
11 years ago
Jeremy Saenz 0d3c3f4497 Improved documentation
11 years ago
Thesyncim ed96efff1b add simple test , fix errors and unused interface SliceFlag
11 years ago
Thesyncim 4d9038a156 add ability to parse []string types
11 years ago
Mike Gehard 1a1d6bd163 Vary flag prefix based on name length
11 years ago
Mike Gehard 7ec896dde0 Update flag.go
11 years ago
Jeremy Saenz 70eacca641 JMS #25: Added support for help flags
11 years ago
Jeremy Saenz 04490dabec Minor tweaks and cleanup
11 years ago
Jeremy Saenz 6664835bc1 JMS #14: Moving toward having and app object
11 years ago
Jeremy Saenz 3119b075d6 JMS #4: Flag testing
11 years ago
Jeremy Saenz 3f76896c4f JMS #4: Getting some cli tests going. Testing out flags
11 years ago
Jeremy Saenz 04496e4364 JMS #4: More WIP
11 years ago
Jeremy Saenz e2733adc45 JMS #4: Kinda parsing flags now
11 years ago
Jeremy Saenz 4b4324bb47 JMS #4: Ditched the value for bool flags
11 years ago
Jeremy Saenz 921da63e2e Support for global flags in help text
11 years ago