89 Commits (f2bed637fda5a18bd7a0f5a670569ffbbd0fa2a5)

Author SHA1 Message Date
David Bond f2bed637fd
Add Destination field to TimestampFlag
3 years ago
Robert Liebowitz 795a8adacb
Merge pull request #1208 from Madhur1997/master
3 years ago
Andrew Nicoll 06e7bdec34 add test for nil
3 years ago
Andrew Nicoll ebe2c0ea70 add for int64
3 years ago
Andrew Nicoll 02f3866db2 add nother test
3 years ago
Andrew Nicoll 55992853bf add flag tests
3 years ago
Madhur batra ea14b62ecc Issue #1066: Display `(accepts multiple inputs)` for SliceFlags in the
3 years ago
Alex Couture-Beil 2ae03fa69c bugfix: don't overwrite existing stringslice refence
4 years ago
Vinicius Schettino 54fbe0a445 Basic test case to check if Value is propagated as it should
4 years ago
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
4 years ago
Mostyn Bramley-Moore 8d907b5329 Save the temp dir before clearing environment variables
4 years ago
davidsbond e19b1565a8 Allow specifying a StringSlice destination for StringSliceFlag
4 years ago
Dmitry Kutakov d7e6dde41e
goimports - fix code format
4 years ago
Dmitry Kutakov 94a1912e25
reduce stdout logs in tests
4 years ago
Martin Lees d2b7f68cf3 Add more tests
4 years ago
Martin Lees 76ebb62d02 fix flagTests loop
4 years ago
Martin Lees 06eb576eaa Review fixes
4 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
7 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