98 Commits (aabfea87c811de4c6bf6dcd01f64309a8864fead)

Author SHA1 Message Date
Dan Buch c864c2425e
Merge pull request #1260 from dearchap/issue_1254
2 years ago
Naveen Gogineni 8c5f1fb359 Changes from code review
2 years ago
Naveen Gogineni 156d47e696 Fix: (issue#1254) short options handling needs to proceed from last terminated error
2 years ago
Dan Buch 9fd3cc92ad
Add tests around flag stringifying for all modified types
2 years ago
Dan Buch d83bb8d85e
Merge branch 'main' into remove_reflect
2 years ago
Ally Dale 58d113dd73
fix #1239: slice flag value don't append to default values from ENV or file (#1240)
3 years ago
Naveen Gogineni 7cd7ff7dd5 Remove reflect from flag_test
3 years ago
Robert Liebowitz ab52d6f3a9 Merge branch 'master' into ally_fix_default_val
3 years ago
David Bond f2bed637fd
Add Destination field to TimestampFlag
3 years ago
AllyDale c98b85d392 bug fix #1235 : default value changes with parsed values on slice flags
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
4 years ago
Andrew Nicoll 02f3866db2 add nother test
4 years ago
Andrew Nicoll 55992853bf add flag tests
4 years ago
Madhur batra ea14b62ecc Issue #1066: Display `(accepts multiple inputs)` for SliceFlags in the
4 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
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
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