Lynn Cyrin
|
3d6eec825a
|
add test cases
|
5 years ago |
Lynn Cyrin
|
7b9e16b6b5
|
update test names
|
5 years ago |
Lynn Cyrin
|
95d3a8624d
|
update test to reflect app flag usage
|
5 years ago |
Lynn Cyrin
|
714a73f028
|
remove unused thing
|
5 years ago |
Lynn Cyrin
|
9438aba3b8
|
remove showFlagError, we can use the help printer assertion to accomplish the same goal
|
5 years ago |
Lynn Cyrin
|
386b379d19
|
Revert "reset generated flags changes"
This reverts commit 9ec594d529 .
|
5 years ago |
Lynn Cyrin
|
9ec594d529
|
reset generated flags changes
|
5 years ago |
Lynn Cyrin
|
23f09ac1e8
|
cleanup tests, check required flags in more places
|
5 years ago |
Lynn Cyrin
|
7ce0af189e
|
remove unused code
|
5 years ago |
Lynn Cyrin
|
d8985dc6d5
|
reduce diff
|
5 years ago |
Lynn Cyrin
|
19140e1fb5
|
show errors
|
5 years ago |
Lynn Cyrin
|
2299852c3c
|
cleanup subcommand and specs
|
5 years ago |
Lynn Cyrin
|
300288670f
|
add subcommand
|
5 years ago |
Lynn Cyrin
|
cc1cf8c459
|
wording shift
|
5 years ago |
Lynn Cyrin
|
32d84d8e87
|
copy update
|
5 years ago |
Lynn Cyrin
|
01d5cfab70
|
use strings.Join
|
5 years ago |
Lynn Cyrin
|
cdc7af744e
|
add handling for multiple required flags
|
5 years ago |
Lynn Cyrin
|
9293f5b3cc
|
visually shorten logic
|
5 years ago |
Lynn Cyrin
|
f00f35ce8c
|
docs
|
5 years ago |
Lynn Cyrin
|
17108e1db4
|
tabs
|
5 years ago |
Lynn Cyrin
|
cf824804c2
|
update tests
|
5 years ago |
Lynn Cyrin
|
80d7e91191
|
fill out test cases
|
5 years ago |
Lynn Cyrin
|
746866c10d
|
add update integration with the help output
|
5 years ago |
Lynn Cyrin
|
550ed20ea4
|
update tests
|
5 years ago |
Lynn Cyrin
|
f6777bf4bf
|
quote the flag name
|
5 years ago |
Lynn Cyrin
|
6a2ae78373
|
backwards compatible RequiredFlag implementation
|
5 years ago |
Lynn Cyrin
|
922d231891
|
./generate-flag-types cli -i flag-types.json -o flag_generated.go
|
5 years ago |
Lynn Cyrin
|
8a58b7e039
|
remove manual isRequired funcs
|
5 years ago |
Lynn Cyrin
|
62e99ad1c1
|
add IsRequired to generator
|
5 years ago |
Lynn Cyrin
|
310bfeb194
|
add required attr to generator
|
5 years ago |
Lynn Cyrin
|
af627c73c3
|
update func name
|
5 years ago |
Lynn Cyrin
|
3d2d6975b4
|
reduce diff
|
5 years ago |
Lynn Cyrin
|
0608059cc7
|
reduce diff
|
5 years ago |
Lynn Cyrin
|
9c299e7e8a
|
reduce diff
|
5 years ago |
Lynn Cyrin
|
30a71dc427
|
update Run command
|
5 years ago |
Lynn Cyrin
|
f7d5e2c21e
|
reduce diff
|
5 years ago |
Lynn Cyrin
|
e6842c0b75
|
merge in test file
|
5 years ago |
Lynn Cyrin
|
fa8187f2ce
|
reduce diff
|
5 years ago |
Lynn Cyrin
|
ce1630141e
|
reduce diff???
|
5 years ago |
Lynn Cyrin
|
138dbaafec
|
Merge branch 'master' into required_flags
|
5 years ago |
Audrius Butkevicius
|
693af58b4d
|
Merge pull request #766 from agis/patch-1
Fix README typo
|
6 years ago |
Audrius Butkevicius
|
e229212769
|
Merge pull request #798 from Quasilyte/patch-1
use type switch instead of if/else
|
6 years ago |
Iskander (Alex) Sharipov
|
5b83c895a7
|
use type switch instead of if/else
This reduces the syntax noise of the code by
removing excessive type assertions.
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
|
6 years ago |
Audrius Butkevicius
|
b67dcf995b
|
Merge pull request #776 from gliptak/patch-2
Bring Go version current
|
6 years ago |
Audrius Butkevicius
|
11ab68f24d
|
Merge branch 'master' into patch-2
|
6 years ago |
Audrius Butkevicius
|
cbebba941b
|
Merge pull request #775 from gliptak/patch-1
Correct typo
|
6 years ago |
Gábor Lipták
|
769f6d543b
|
Bring Go version current
|
6 years ago |
Gábor Lipták
|
9587fc27bd
|
Correct typo
|
6 years ago |
Agis Anastasopoulos
|
d7c3be8267
|
Fix README typo
|
6 years ago |
Audrius Butkevicius
|
934abfb2f1
|
Merge pull request #758 from vrothberg/fix-short-opts-parsing
short opt handling: fix parsing
|
6 years ago |