98 Commits (a1cf7f44b6cf65c0c10c282c71524cc37442b798)

Author SHA1 Message Date
Sascha Grunert a1cf7f44b6
Add `TakesFile` to fish shell completion
5 years ago
Ajitem Sahasrabuddhe aed704a9d0
Merge branch 'master' into lint-fixes
5 years ago
Ajitem Sahasrabuddhe 0990ca2391
Merge branch 'master' into lint-fixes
5 years ago
Ajitem Sahasrabuddhe 286133fee5
Merge branch 'master' into combined
5 years ago
Ajitem Sahasrabuddhe fdba7e0f8c
linter fixes
5 years ago
Sascha Grunert 40d4a25a01
Add markdown and man page docs generation methods
5 years ago
Robert Liebowitz 03153b9cf8 Allow combining short flags globally
5 years ago
Lynn Cyrin 7ce0af189e
remove unused code
5 years ago
Lynn Cyrin 32d84d8e87
copy update
5 years ago
Lynn Cyrin 6a2ae78373
backwards compatible RequiredFlag implementation
5 years ago
Lynn Cyrin 8a58b7e039
remove manual isRequired funcs
5 years ago
Lynn Cyrin fa8187f2ce
reduce diff
5 years ago
Lynn Cyrin ce1630141e
reduce diff???
5 years ago
Lynn Cyrin 138dbaafec
Merge branch 'master' into required_flags
5 years ago
Olivier Mengué d7555e1729 Fix unnecessary uses of Sprintf
6 years ago
Joshua Rubin 37b7abb1c4
dont clobber slices with envvar
7 years ago
Jacob McCann f971fca2b2 Allow FilePath to take []string
7 years ago
Brad Rydzewski 18a556e192 fix FilePath documentation in README.md
7 years ago
Brad Rydzewski 21fcab0dee ability to load variable from file
7 years ago
Robert Liebowitz b44660ac3d Consider case when sorting strings
7 years ago
rliebz 11d45572f9 Export funcs to configure flag prefix/env hints
7 years ago
Joe Richey joerichey@google.com 1794792adf Add ability to use custom Flag types
7 years ago
Jesse Szwedko d71794de19 Make ApplyWithError a public method on errorableFlag
8 years ago
drekar 4661a59b20 errorableFlag: scope result of type assertion.
8 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
Antonio Murdaca c516bce8f1
flags: provide a type to sort flags
8 years ago
Dan Buch 6185b8d8fd
Generate code for flag types and context accessors
8 years ago
Dan Buch a0e694ed72
Add UintFlag, Uint64Flag types and supporting code
8 years ago
Dan Buch 537f5beb66
Tweaks to Int64Flag PR
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 7cd5bed6cb
Backporting flagValue func from v2 branch
8 years ago
Joshua Rubin f621deee5a
fix panic getting visible flags
8 years ago
Matt Farina 07ce8bf79c Cleaned up else per golint
8 years ago
Matt Farina 2f110bd745 Cleaned up exported func comments per golint
8 years ago
Matt Farina 6f0b442222 Update to ErrWriter and make available on app
8 years ago
Matt Farina 2a256d4c53 Provide a variable for writing output with a default of os.Stderr
8 years ago
Dan Buch cd92adcb75
Further simplifying default flag stringer func
8 years ago
Dan Buch 6089d723a8
Use existing `prefixedNames` func
8 years ago
Dan Buch 69a8e25f3d
Make flag usage rendering more consistent; show default values
8 years ago
Dan Buch 23af5dd643
Rename flag stringer func bits for clarity, consistency
8 years ago
Dan Buch 22773b14c1
Allow for pluggable flag-level help text formatting
8 years ago
Dan Buch fed78b8bab
Rework of hidden flag impl plus some Action func corrections
8 years ago
Harshavardhana 99431669d0
New ``Hide`` variable for all Flags
8 years ago
Kevin Cantwell 13b7eedc13 Parses usage placeholders via back quotes. Resolves #333
8 years ago
adamclerk cde8418658 Fixes spelling issues and import alphabetical issues
8 years ago
Gregor Noczinski 09e2c89597 * Changed the way how to return the result. Because of strange ci failure
8 years ago
Gregor Noczinski 82ddbd9a07 * Improve GenericFlag.String() by suppressing empty "" for GenericFlags on nil or empty Generic.String()
8 years ago
Jille Timmermans f101a00018 Export cli.Flag.GetName (previously cli.Flag.getName)
9 years ago