71 Commits (e264ede3522b82c0192dc899207099c6fc381ee5)

Author SHA1 Message Date
Jim Powers 5dafdb1de6 Exposed the `value` accessor in `Context`
5 years ago
Ajitem Sahasrabuddhe a9d5b68df5
Merge branch 'master' into v2-master-merge
5 years ago
Ajitem Sahasrabuddhe b161244b73
Merge latest master into v2-merge-master
5 years ago
Ajitem Sahasrabuddhe d870ad6ccb
Fix all tests
5 years ago
Ajitem Sahasrabuddhe 2024bed22a
Fix test cases for context, docs, errors, fish, flags and funcs
5 years ago
Ajitem Sahasrabuddhe c75fee9224
Merge master @1.22.1 with v2
5 years ago
Ajitem Sahasrabuddhe fdba7e0f8c
linter fixes
5 years ago
baude fd5382e7a5 Combine bool short names
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 c698b821b8 unit tests for load from file
7 years ago
Brad Rydzewski 21fcab0dee ability to load variable from file
7 years ago
Vladislav Mitov 0b665e6170 Add PathFlag
7 years ago
Robert Liebowitz cbbe4c1a2c Add tests for custom flag prefix/env hints
7 years ago
Dan Buch 65b801c818
Resolve remaining test errors for v1 => v2 merge
7 years ago
Dan Buch 47a412375f
Resolved compile-time errors since merging from v1
7 years ago
Dan Buch a61867e5e6
Merge remote-tracking branch 'origin/v1' into merging-from-v1
7 years ago
Jesse Szwedko 8d8f927bcb Change flag test error checking to use regexp rather than strings
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
Jake Champlin 7d56512ecc
Add documentation, remove quotes by default
8 years ago
Jake Champlin e0556cf9e8
Add DefaultValue text for flags
8 years ago
Bruno França dos Reis 028af4bc35 adding support for Float64SliceFlag
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
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 3b03164c92 Merge branch 'v2' into show-bool-default
8 years ago
Dan Buch c70993dbc5 Merge branch 'v2' into minimize-struct-copying
8 years ago
Dan Buch 8f25dbb615
Ensure all flag aliases are set when Destination given
8 years ago
Dan Buch cd10b49473
Minimize struct copying
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 9c132d990a
Add more tests for BoolFlag{Value: true}
8 years ago
Dan Buch f2d5ed9933
Replace BoolTFlag type with BoolFlag.Value
8 years ago
Dan Buch c19dbaf230
Remove deprecated things and supporting code
8 years ago
Dan Buch a1e5328e30
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
9 years ago
Dan Buch 69a8e25f3d
Make flag usage rendering more consistent; show default values
9 years ago
Dan Buch 22773b14c1
Allow for pluggable flag-level help text formatting
9 years ago
Dan Buch 1fb52b3bce
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
9 years ago
Dan Buch 1a91f3dce5
Ensure IntSlice & StringSlice serialization works as expected
9 years ago
Dan Buch 64de53e639
Merge remote-tracking branch 'origin/master' into string-slice-flag-default-160
9 years ago
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
9 years ago
Gregor Noczinski 82ddbd9a07 * Improve GenericFlag.String() by suppressing empty "" for GenericFlags on nil or empty Generic.String()
9 years ago