93 Commits (f7b2b93ffac3d3e42fa39b619d5804ae9c9302b1)

Author SHA1 Message Date
Dan Buch f7b2b93ffa
Merge remote-tracking branch 'origin/v1' into merging-from-v1
8 years ago
Bruno França dos Reis 028af4bc35 adding support for Float64SliceFlag
8 years ago
Dan Buch 6185b8d8fd
Generate code for flag types and context accessors
8 years ago
Dan Buch 0c9b549918
Ensure remaining v1 additions are v2 compatible
8 years ago
Dan Buch 6c628a1a88
Merge remote-tracking branch 'origin/v1' into merging-from-v1
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
Dan Buch 3b03164c92 Merge branch 'v2' into show-bool-default
8 years ago
Dan Buch cd1e8c3452
Merge remote-tracking branch 'origin/v2' into minimize-struct-copying
8 years ago
Dan Buch 2b288769c7
Add comment about commaWhitespace stripping of flag.Name
8 years ago
Dan Buch c70993dbc5 Merge branch 'v2' into minimize-struct-copying
8 years ago
Dan Buch 80f444e0f5 Merge branch 'v2' into clean-stringlies
8 years ago
Dan Buch 8f25dbb615
Ensure all flag aliases are set when Destination given
8 years ago
Dan Buch ec05a8d31b
Ensure flag "Name" field values are un-stringly-fied
8 years ago
Dan Buch cd10b49473
Minimize struct copying
8 years ago
Dan Buch 334e66cb8f
Remove unused (so far) func
8 years ago
Dan Buch 81fcf706ea
Replace all "stringly typed" fields with slice equivalents
8 years ago
Dan Buch fac67ac91a
Show BoolFlag default value in help usage
8 years ago
Dan Buch f2d5ed9933
Replace BoolTFlag type with BoolFlag.Value
8 years ago
Dan Buch 32ebecfbb5
Merge remote-tracking branch 'origin/master' into v2
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
Dan Buch bac790c819
Merge remote-tracking branch 'origin/master' into v2
8 years ago
Matt Farina 6f0b442222 Update to ErrWriter and make available on app
9 years ago
Matt Farina 2a256d4c53 Provide a variable for writing output with a default of os.Stderr
9 years ago
Dan Buch a1e5328e30
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
9 years ago
Dan Buch cd92adcb75
Further simplifying default flag stringer func
9 years ago
Dan Buch 6089d723a8
Use existing `prefixedNames` func
9 years ago
Dan Buch 69a8e25f3d
Make flag usage rendering more consistent; show default values
9 years ago
Dan Buch 23af5dd643
Rename flag stringer func bits for clarity, consistency
9 years ago
Dan Buch 22773b14c1
Allow for pluggable flag-level help text formatting
9 years ago
Dan Buch fed78b8bab
Rework of hidden flag impl plus some Action func corrections
9 years ago
Harshavardhana 99431669d0
New ``Hide`` variable for all Flags
9 years ago
Dan Buch 1a91f3dce5
Ensure IntSlice & StringSlice serialization works as expected
9 years ago
Dan Buch d1b0c49a98
Ensure slice types can safely round-trip through flag.FlagSet
9 years ago
Dan Buch 64de53e639
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
9 years ago
Kevin Cantwell 13b7eedc13 Parses usage placeholders via back quotes. Resolves #333
9 years ago
Dan Buch 7a5bfc850d Update dangling IntSlice literal
9 years ago
Dan Buch cb433e7468 Use NewIntSlice and NewStringSlice internally
9 years ago
Dan Buch 867aa0912d Overwrite slice flag defaults when set
9 years ago
adamclerk cde8418658 Fixes spelling issues and import alphabetical issues
9 years ago
Gregor Noczinski 09e2c89597 * Changed the way how to return the result. Because of strange ci failure
9 years ago
Gregor Noczinski 82ddbd9a07 * Improve GenericFlag.String() by suppressing empty "" for GenericFlags on nil or empty Generic.String()
9 years ago
Jille Timmermans f101a00018 Export cli.Flag.GetName (previously cli.Flag.getName)
9 years ago
ston1th 25ef368235 added destination scan testing and BoolT
9 years ago
ston1th bb7e45acf1 Added destination scan support for flags
9 years ago