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
da581b24e8
Merge branch 'master' into redundant-nil-check-slice
5 years ago
Ben Zvan
65053360c7
Revert "Created using Colaboratory"
...
This reverts commit 83b99c4109
.
This commit was randomly created here when I connected to colaboratory
5 years ago
Ben Zvan
83b99c4109
Created using Colaboratory
5 years ago
Ben Zvan
23042d3707
Merge branch 'master' into master
5 years ago
Yogesh Lonkar
62f02f21ef
Don't complete hidden flags
6 years ago
Yogesh Lonkar
1d7a2b08d6
Add default completion on commands, test cases, refactor code
6 years ago
Yogesh Lonkar
fb1421d903
Fix duplicate completion of existing flag
6 years ago
Yogesh Lonkar
58a072d573
Add bash completion support for flags
6 years ago
mingrammer
ddc3453179
Update README.md
6 years ago
mingrammer
a0453b2200
Fix the unaligned indents for the commands that have no categories
6 years ago
Audrius Butkevicius
693af58b4d
Merge pull request #766 from agis/patch-1
...
Fix README typo
6 years ago
Audrius Butkevicius
6aa7f352fa
Merge branch 'master' into redundant-nil-check-slice
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
Michael Schuett
50b52ca9d5
Fix unit tests
6 years ago
Michael Schuett
9720ac029c
Basic working flag category support
6 years ago
Michael Schuett
51aebb5a03
Add mod files
...
Let us use this repo via replace locally.
6 years ago
Michael Schuett
9dd96e9e90
Add in Category to Flag interface
6 years ago
Michael Schuett
7c383b0d16
Go Fmt
6 years ago
Michael Schuett
ff1c0b58dd
Start of category flag support
...
This adds what I think needs to be done to support categories for flags
but we will see if that works. It also forces the scripts to use python2
since they blow up under python3 which is becoming the default python on
many linux systems.
Small fix to app_test as well so it conforms to the new Flag interface.
6 years ago
Ben Zvan
4a76377775
go fmt
6 years ago
Ben Zvan
d63733fe14
adds test coverage to context
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