Dan Buch
a5ec63b31f
More porting fixes and un-lost changes
2 years ago
Dan Buch
c6318ceaf8
Merge commit 'd0aeb4d' into v3-porting
2 years ago
Dan Buch
d80f366fee
Merge commit 'c3fccc0' into v3-porting
2 years ago
Dan Buch
494ff26381
Merge commit 'ae8d932' into v3-porting
2 years ago
Dan Buch
d3a4181800
Merge commit '7563894' into v3-porting
2 years ago
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
13cc7677ab
Add SkipFlagParsing to app
2 years ago
Naveen Gogineni
bb820560d9
Fix:(issue_1114) Add test case for --
2 years ago
Naveen Gogineni
fb3a9cebb4
FIx: Allow ext flags to be opt-out by default rather than opt-in
2 years ago
dearchap
ae8d932413
Feature:(issue_269) Allow external package flag definitions ( #1540 )
...
* Feature:(issue_269) Add compatibility with external package flag definitions
* Add tests
* Add defer to remove global flag
* Use ptr to receiver for extFlag
* Add const for flag prefix to ignore
2 years ago
Josh Soref
7732a512f9
Spelling ( #1543 )
...
* spelling: available
* spelling: explicitly
* spelling: feel
* spelling: github
* spelling: individual
* spelling: inputting
* spelling: occurring
* spelling: overriding
* spelling: propagated
* spelling: recursively
* spelling: reuse
* spelling: single
* spelling: value
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
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