126 Commits (c261e4dbd3c72bc9baec4072b5f866d3349a6b3b)

Author SHA1 Message Date
Aloïs Micard c261e4dbd3
Harmonize BeforeError usage in Command#Run
4 years ago
Akihiro Suda 75e7c526bd Add HideHelpCommand
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
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
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
Joe Richey 0083ae8732 Usage/Description/ArgsUsage correctly copied when using subcommand
8 years ago
Maximilian Meister ac772237b9
command: enable ordering commands by name
8 years ago
Joshua Rubin 2da42640ad
Merge remote-tracking branch 'origin/master' into completion_fix
8 years ago
Jesse Szwedko e367fafa3d Return an error when parsing environment variables for values fails
8 years ago
Jesse Szwedko 0113f56d10 If no action is specified on the command or app, print the help documentation
8 years ago
Joshua Rubin ea3df26e64
make shell autocomplete more robust
8 years ago
Jesse Szwedko 83497d2cda Merge remote-tracking branch 'origin/master' into v2-merge
8 years ago
Richard Kovacs 4cc2bad36e Display error instead of just say command is incorrect
8 years ago
Shukui Yang 5d108a4435 bug fix when SkipFlagParsing is false and SkipArgReorder is true
8 years ago
Frances Bar 3df4b71842 Backport no argument reordering as an option
8 years ago
Antoine Eiche 94bc26fd1c Refactoring names from bash to shell
8 years ago
Dan Buch df685fbacc
Remove `NewApp` initializer
8 years ago
Dan Buch 3d75e9e711
Go with interfaces + private opaque types
8 years ago
Dan Buch c70993dbc5 Merge branch 'v2' into minimize-struct-copying
8 years ago
Dan Buch a41a43b00f
Switch to fmt.Fprintf for displaying usage error
8 years ago
Dan Buch 8f25dbb615
Ensure all flag aliases are set when Destination given
8 years ago
Dan Buch 61710ff108
Make slice wrapping pattern more consistent
8 years ago
Dan Buch cd10b49473
Minimize struct copying
8 years ago
Dan Buch 81fcf706ea
Replace all "stringly typed" fields with slice equivalents
8 years ago
Dan Buch c19dbaf230
Remove deprecated things and supporting code
8 years ago
Dan Buch 32ebecfbb5
Merge remote-tracking branch 'origin/master' into v2
8 years ago
Matt Farina 07ce8bf79c Cleaned up else per golint
8 years ago
Matt Farina 2f110bd745 Cleaned up exported func comments per golint
8 years ago
Dan Buch bac790c819
Merge remote-tracking branch 'origin/master' into v2
8 years ago
Jesse Szwedko f585ec7cb8 Remove reordering of flags and arguments
8 years ago
Dan Buch 5c641d69b4
Merge branch 'hidden_command' of https://github.com/psmit/cli into psmit-hidden_command
9 years ago
Dan Buch fed78b8bab
Rework of hidden flag impl plus some Action func corrections
9 years ago
Dan Buch e671f0b23b Merge pull request #339 from jack230230/master
9 years ago
王振威 f72d405107 Change Extras to Metadata
9 years ago