Dan Buch
|
b0e8160076
|
Merge commit '5ac0710' into v3-porting
|
2 years ago |
Dan Buch
|
581cfd175a
|
Merge commit '0d0d329' into v3-porting
|
2 years ago |
Naveen Gogineni
|
729a7c41ce
|
Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline
|
2 years ago |
Naveen Gogineni
|
4a109bc0ce
|
Fix tests
|
2 years ago |
Naveen Gogineni
|
a9d6b0d821
|
Changes from code review
|
2 years ago |
Naveen Gogineni
|
d5947d7814
|
Initial cut
|
2 years ago |
Naveen Gogineni
|
924ebdaab2
|
Fix:(issue_1500). Fix slice flag value duplication issue
|
2 years ago |
Naveen Gogineni
|
c86805de7c
|
Add test case
|
2 years ago |
Naveen Gogineni
|
8227be1fe9
|
Add tests for command.VisibleFlagCategory
|
2 years ago |
Naveen Gogineni
|
02613e50be
|
Fix tests
|
2 years ago |
dearchap
|
fb23ff4aa2
|
Merge branch 'main' into issue_1500
|
2 years ago |
Naveen Gogineni
|
6504da449b
|
Add test case
|
2 years ago |
Naveen Gogineni
|
fe6f62b9b2
|
Fix:(issue_1500). Fix slice flag value duplication issue
|
2 years ago |
Dan Buch
|
f8faf77e43
|
Post-porting fixes for v3
|
2 years ago |
Naveen Gogineni
|
57ff098ca7
|
Fix:(issue_557) Make help output consistent between different invocations
|
2 years ago |
Wendell Sun
|
126297af13
|
Add more test cases
|
2 years ago |
Wendell Sun
|
f9ceca5dfa
|
Add more tests about flag-level action
|
2 years ago |
Wendell Sun
|
e2e14ec6ef
|
feat: flag action
|
2 years ago |
Naveen Gogineni
|
42eb492258
|
Rename function
|
2 years ago |
Naveen Gogineni
|
42d8058ed9
|
Fix:(issue_1094) Dont execute Before/After handlers during shell completion
|
2 years ago |
Dokiy
|
02eb392916
|
Fix After not run
|
2 years ago |
Dokiy
|
67f592aadb
|
Fix HideHelp
|
2 years ago |
dearchap
|
de83493182
|
Merge pull request #1499 from dearchap/issue_557
Fix help results inconsistency
|
2 years ago |
Naveen Gogineni
|
e925d26b97
|
Fix:(issue_557) Make help output consistent between different invocations
|
2 years ago |
Wendell Sun
|
47f6782a90
|
Add more test cases
|
2 years ago |
Wendell Sun
|
602471bf21
|
Add more tests about flag-level action
|
2 years ago |
Wendell Sun
|
14366f7030
|
feat: flag action
|
2 years ago |
Naveen Gogineni
|
268cb973f8
|
Remove all flag interfaces
|
2 years ago |
Naveen Gogineni
|
ab68d8a69d
|
Cleanup: Collapse flag interfaces
|
2 years ago |
Naveen Gogineni
|
7b28ca54ea
|
Rename function
|
2 years ago |
Naveen Gogineni
|
57a8423422
|
Fix:(issue_1094) Dont execute Before/After handlers during shell completion
|
2 years ago |
dearchap
|
e3ee4fb3ef
|
Merge pull request #1444 from Dokiys/fix/add_after_before_help_check
Fix After not run
|
2 years ago |
Dokiy
|
1a1b9cd563
|
Fix HideHelp
|
2 years ago |
Dokiy
|
a1c26d5491
|
Fix After not run
|
2 years ago |
James Alavosus
|
d8c93f867b
|
app_test.go: add tests for default command + flag
|
2 years ago |
James Alavosus
|
1dfa9827f6
|
gofmt
|
2 years ago |
James Alavosus
|
1b3da50f16
|
Add test cases for subcommands of default command
|
2 years ago |
James Alavosus
|
32dec1ddaa
|
feature: add DefaultCommand field to App
See issue #1307 for context.
|
2 years ago |
Dan Buch
|
4bca72cea1
|
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support
|
2 years ago |
Dan Buch
|
e66017d73a
|
Refinements to removal of zsh hack
|
2 years ago |
Dan Buch
|
56837b07d3
|
Merge remote-tracking branch 'origin/main' into applying-pr1218
|
2 years ago |
Dan Buch
|
156eaafb22
|
Rework flag categories a bit
with internal maps instead of slices and slightly less public API
surface area
|
2 years ago |
Dan Buch
|
a583a102fd
|
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support
|
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 |
Dan Buch
|
9ce946162f
|
Unshadow `context` package
and consistently name `*cli.Context` vars and method receivers `cCtx`
|
2 years ago |
Dan Buch
|
e4580f0c50
|
Extend flag categorization to top-level (global) flags
|
2 years ago |
Ihor Urazov
|
1150c2e180
|
Properly detect Zsh shell
There is no need to define custom shell var, when Zsh can be detected by
checking SHELL env var.
|
2 years ago |
William Wilson
|
e8d8173889
|
Make test case compatible with Go 1.17 (#1299)
* Make test case compatible with Go 1.17
* tweak test case to bring coverage back up
|
2 years ago |
Ally Dale
|
ef9430e77e
|
fix #1238: accept multi-value input on sclice flags
|
3 years ago |
Jason Travis
|
1985ecfdc0
|
remove repeated comment
|
3 years ago |