124 Commits (2e71cb8174e4ea664a486010150eb473f4db2f72)

Author SHA1 Message Date
Balazs Nagy 1335a7022a accept timezone for timestamps
2 years ago
Joseph Cumines e77dd7bb68 Add SliceFlag wrapper and fix bugs in existing implementations
2 years ago
Dan Buch 04f5ff0315
Merge branch 'main' into mostynb-report_source_of_parse_errors
2 years ago
Dan Buch e7db6af492
Merge remote-tracking branch 'origin/main' into mostynb-report_source_of_parse_errors
2 years ago
Dan Buch 8cc43782ed
Merge branch 'main' into feature/1316-simplified_flag_value_access
2 years ago
Dan Buch 6538e95d65
Merge branch 'ally_fix_multi_val' of ssh://github.com/vipally/cli into vipally-ally_fix_multi_val
2 years ago
Kacper Bąk 4c7b46cb24 fix: clean code
2 years ago
Tilo Prütz 835bd32714 rename flags’ ValueFromContext() to Get()
2 years ago
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
Tilo Prütz ca7f26ecb0 Uint64Flag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz 1f621059d3 UintFlag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz 889c7b5d7a TimestampFlag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz 6b336c478f StringSliceFlag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz ce4d9279c4 StringFlag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz 660184dd92 PathFlag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz 6d7f859008 IntSliceFlag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz dcc47855b8 Int64SliceFlag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz 18b44dfb29 Int64Flag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz bf18c00347 IntFlag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz 8bd5fb2390 GenericFlag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz 2f92fc644c Float64SliceFlag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz 5047beb001 Float64Flag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz 9eae255aac DurationFlag.ValueFromContext() as convenient accessor
2 years ago
Tilo Prütz baf8ae98de BoolFlag.ValueFromContext() as convenient accessor
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
Dan Buch 826b3edd3f
Merge branch 'report_source_of_parse_errors' of ssh://github.com/mostynb/cli into mostynb-report_source_of_parse_errors
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
4 years ago
Ally Dale ef9430e77e fix #1238: accept multi-value input on sclice flags
4 years ago
AllyDale c98b85d392 bug fix #1235 : default value changes with parsed values on slice flags
4 years ago
Robert Liebowitz 795a8adacb
Merge pull request #1208 from Madhur1997/master
4 years ago
Andrew Nicoll 06e7bdec34 add test for nil
4 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
Mostyn Bramley-Moore 500d6b04e6 Report the source of a value when we cannot parse it
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
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