80 Commits (9047f3b42dc9b70d2750c43815fdd1346f2129f7)

Author SHA1 Message Date
Sergey Goroshko 196b222a8b fix #1121(StringSliceFlag set default value into destination)
4 years ago
Mostyn Bramley-Moore 4853dd3144 Reset the environment variables after each test that clears them
5 years ago
Mostyn Bramley-Moore 8d907b5329 Save the temp dir before clearing environment variables
5 years ago
davidsbond e19b1565a8 Allow specifying a StringSlice destination for StringSliceFlag
5 years ago
Dmitry Kutakov d7e6dde41e
goimports - fix code format
5 years ago
Dmitry Kutakov 94a1912e25
reduce stdout logs in tests
5 years ago
Martin Lees d2b7f68cf3 Add more tests
5 years ago
Martin Lees 76ebb62d02 fix flagTests loop
5 years ago
Martin Lees 06eb576eaa Review fixes
5 years ago
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