155 Commits (375e5dfc1dd898ce444245851441e7d1a3aabe2e)

Author SHA1 Message Date
Dokiy 1a1b9cd563 Fix HideHelp
2 years ago
Dan Buch a78717f4f9
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support
2 years ago
Dan Buch 63b1a7deee
A few follow-up conflict resolutions
2 years ago
Dan Buch 3d67b75be7
Merge branch 'suggestions' of ssh://github.com/saschagrunert/cli into saschagrunert-suggestions
2 years ago
Dan Buch 16d5d5a3df
Some changes per feedback in #1368
2 years ago
Dan Buch 156eaafb22
Rework flag categories a bit
2 years ago
Dan Buch a583a102fd
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support
2 years ago
Dan Buch 9ce946162f
Unshadow `context` package
2 years ago
Dan Buch 44958693a1
Merge branch 'add-flag-category-support' of ssh://github.com/michaeljs1990/cli into michaeljs1990-add-flag-category-support
2 years ago
Dan Buch 4b238b8ff0
Merge branch 'master' into suggestions
2 years ago
Robert Liebowitz b7da09a687
Merge pull request #1255 from cpacifying/master
3 years ago
Naveen Gogineni 07e1fdf17d Cleanup context.go
4 years ago
cpacifying 9433f216ff
UsageText to be passed from Command to App in startApp
4 years ago
Travis Lane 17032bc33c
fix: Propagate App.Reader to subcommands
4 years ago
Irioth 6d09498169 hide version flag for subcommands
4 years ago
Aloïs Micard c261e4dbd3
Harmonize BeforeError usage in Command#Run
4 years ago
Akihiro Suda 75e7c526bd Add HideHelpCommand
5 years ago
Sascha Grunert 002bde2233
Add suggestions support
5 years ago
Roberto Hidalgo f3295e3cdb
Check for parsing errors within parse.go:parseIter
5 years ago
Roberto Hidalgo 90a62d7b0c
Prevent panic on flagSet access from custom BashComplete
5 years ago
Ajitem Sahasrabuddhe 3bd997859c
make categories private
5 years ago
Robert Liebowitz 7d46b6d7f1
Avoid panic for missing flag value
5 years ago
Ajitem Sahasrabuddhe b161244b73
Merge latest master into v2-merge-master
5 years ago
Ajitem Sahasrabuddhe d870ad6ccb
Fix all tests
5 years ago
Ajitem Sahasrabuddhe f29d98aa2d
Make command tests pass
5 years ago
Ajitem Sahasrabuddhe c75fee9224
Merge master @1.22.1 with v2
5 years ago
Michael Schuett 9720ac029c Basic working flag category support
6 years ago
Michael Schuett 7c383b0d16 Go Fmt
6 years ago
Gábor Lipták 9587fc27bd
Correct typo
6 years ago
Valentin Rothberg c23dfba701 short opt handling: fix parsing
6 years ago
Nico Windler 3a87b13b01 Fix args reordering when bool flags are present
7 years ago
Jesse Szwedko e38e4ae2d0 Fix regression of SkipFlagParsing behavior
7 years ago
Jesse Szwedko df562bf1a8 Refactor flag handling logic
7 years ago
baude ceaac7c915 Handle ShortOptions and SkipArgReorder
7 years ago
baude fd5382e7a5 Combine bool short names
7 years ago
zhuchensong 43c8c02cf5 Support POSIX-style short flag combining
7 years ago
Robert Liebowitz b44660ac3d Consider case when sorting strings
7 years ago
OneOfOne 163f247519
lint + DefaultCommand
7 years ago
Dan Buch 65b801c818
Resolve remaining test errors for v1 => v2 merge
7 years ago
Dan Buch a372849da6
Use []*Command instead of []Command in CommandsByName
7 years ago
Dan Buch a61867e5e6
Merge remote-tracking branch 'origin/v1' into merging-from-v1
7 years ago
Tyler Davis 530df59178 Pass context into handleExitCoder
7 years ago
Tyler Davis 9d61cbad02 Updated command.go to use App handleExitCoder
7 years ago
Jesse Szwedko c64d74a5d9 Do not double print errors from Before()
7 years ago
Joe Richey joerichey@google.com 291122b8f0 Subcommand OnUsageError should be passed to app
7 years ago
Harshavardhana f7d6a07f2d Add support for custom help templates.
7 years ago
Jesse Szwedko 87fe13079e Rely on Command context in Run()
8 years ago
Jesse Szwedko 9913f0cef2 Merge branch 'master' into subcommand-structure
8 years ago
Joe Richey e109e81e6a Subcommand structure should be correctly copied to main structure
8 years ago
Robert Bittle 4ed366e201
Pass the ErrWriter on the root app to subcommands
8 years ago