Ajitem Sahasrabuddhe
32ddef5ca7
finish generation of flag types for cli package
5 years ago
mingrammer
9766be8d3e
get latest changes from master
5 years ago
mingrammer
e01e3c540c
Fix the unaligned indents for the commands that have no categories
5 years ago
Lynn Cyrin (they/them)
b1a7c502eb
Merge branch 'master' into master
5 years ago
Lynn Cyrin (they/them)
eee6ce83c0
Merge branch 'master' into lynncyrin-patch-2
5 years ago
Yogesh Lonkar
11c9e598b0
Merge branch 'master' into master
5 years ago
Ajitem Sahasrabuddhe
244eba7e4c
Merge pull request #831 from saschagrunert/go-modules
...
Add go module support
5 years ago
Audrius Butkevicius
b2421d1235
Merge branch 'master' into patch-1
5 years ago
Sascha Grunert
4627bbe109
Add go module support
...
This adds a go.{mod,sum} file to official support go modules.
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
5 years ago
Audrius Butkevicius
1169906f57
Merge pull request #773 from teresy/redundant-nil-check-slice
...
Remove redundant nil checks
5 years ago
Lynn Cyrin (they/them)
94f4f83672
Merge branch 'master' into redundant-nil-check-slice
5 years ago
Ajitem Sahasrabuddhe
07c1638969
Merge pull request #806 from mingrammer/fix-help-indentation
...
Fix the unaligned indents for the command help messages
5 years ago
Ajitem Sahasrabuddhe
7a51175ce1
Merge branch 'master' into fix-help-indentation
5 years ago
Ajitem Sahasrabuddhe
842e3fe1b6
Merge pull request #828 from urfave/lynncyrin-patch-1
...
Update maintainers for current reality
5 years ago
Lynn Cyrin (they/them)
8a7f65e052
Update CHANGELOG.md
5 years ago
Lynn Cyrin
e8eac43d9d
Update CHANGELOG.md
5 years ago
Lynn Cyrin
330a9143fb
Merge branch 'master' into fix-help-indentation
5 years ago
Lynn Cyrin
fa51d00dc6
Update maintainers for current reality
5 years ago
Yogesh Lonkar
01ab016427
Merge branch 'master' into master
5 years ago
Jordan Christiansen
c75a689f62
Make exit code example more clear
...
The purpose of this example is to show that you can exit with an error
code if a flag is unspecified, but with the code as it is, the only way
to cause a non-zero exit is by adding the flag `--ginger-crouton=false`,
which is not explained in the example.
In this new version of the example, running the command with no flag
will exit with an error, and running it with the flag will exit
normally.
5 years ago
Ajitem Sahasrabuddhe
7675649a17
Merge pull request #819 from lynncyrin/required-flags-take-2
...
Required flags
5 years ago
Ajitem Sahasrabuddhe
f8ba505a7c
Merge branch 'master' into required-flags-take-2
5 years ago
Ajitem Sahasrabuddhe
656063a846
Merge pull request #788 from benzvan/master
...
adds test coverage to context
5 years ago
Lynn Cyrin
60fb297232
remove help assertion stuff
5 years ago
Lynn Cyrin
d7ec4e8013
add env var tests
5 years ago
Lynn Cyrin
f4128a02f3
Update command.go
5 years ago
Lynn Cyrin
38f9e1622d
add environment variable support 🎉
5 years ago
Lynn Cyrin
f21b22dd90
cleanup some issues with error display
5 years ago
Lynn Cyrin
fdd4d10691
update comments
5 years ago
Lynn Cyrin
ef9acb4a3b
rename cases
5 years ago
Lynn Cyrin
45f2b3d8e7
more test cases
5 years ago
Lynn Cyrin
78db152323
add typed error assertions
5 years ago
Lynn Cyrin
d4740d10d0
more test cases
5 years ago
Lynn Cyrin
595382c509
expand test cases
5 years ago
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
Yogesh Lonkar
d79d2a0424
Fix issue with source command completion
...
Avoid competion for bash builtin `source` and fallback to default implementation as it throws below error
```
-bash: source: --: invalid option
source: usage: source filename [arguments]
```
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