139 Commits (c48a82964028acd0f19ee17257789f7c9f5afc78)

Author SHA1 Message Date
Tyler Davis c48a829640 Allow custom exit err handlers
7 years ago
Jesse Szwedko c64d74a5d9 Do not double print errors from Before()
7 years ago
Harshavardhana baa33cb888 Add support for ExtraInfo.
7 years ago
Harshavardhana f7d6a07f2d Add support for custom help templates.
7 years ago
Kasey Klipsch 8fa549846e #556 broke the api for users who were using the ActionFunc
8 years ago
Joshua Rubin 2da42640ad
Merge remote-tracking branch 'origin/master' into completion_fix
8 years ago
Joshua Rubin 8dd1962f7b
change "complete" to "shellComplete"
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 b377b5d9e9 Use type assertions rather than reflection to determine how to call the `Action`
8 years ago
Jesse Szwedko 61db37e7ae Merge branch 'master' into default-writer
8 years ago
Jesse Szwedko f614c177b7 Merge pull request #543 from wking/app-description
8 years ago
W. Trevor King 0c143a2a26 app: Fix trailing space for Author.String()
8 years ago
Richard Kovacs 4cc2bad36e Display error instead of just say command is incorrect
8 years ago
Jesse Szwedko 508a23430b Default app.Writer to os.Stdout
8 years ago
W. Trevor King c4a46a7df2 app: Add App.Description
8 years ago
Jesse Szwedko a5ca09a934 fixup! remove the possiblity of end-user's seeing deprecation warnings
8 years ago
Jesse Szwedko 8e6aa34a12 remove the possiblity of end-user's seeing deprecation warnings
8 years ago
Radek Simko bef215fe3e app: Allocate Metadata map automatically
8 years ago
Dan Buch 5c7afce5b8
Add help command before category scan/sort
8 years ago
Dan Buch 5a3515fdf8
Focus on catching fewer panics in HandleAction
8 years ago
Jesse Szwedko 024b4c6240 Update references to codegangsta to urfave (new org name)
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
Matt Farina 2f4ec31264 Fixed spelling and gofmt issues
8 years ago
Dan Buch 97d2df6dd7
Merge remote-tracking branch 'origin/master' into psmit-hidden_command
8 years ago
Matt Farina 6f0b442222 Update to ErrWriter and make available on app
8 years ago
Matt Farina 2a256d4c53 Provide a variable for writing output with a default of os.Stderr
8 years ago
Dan Buch cc481d6b0e
Adjust command hiding to use similar convention as hidden flags
8 years ago
Dan Buch 4b4c07bd4f
Ensure HandleAction/HandleExitCoder work correctly with *ExitError
8 years ago
Gert-Jan Timmer a90e2e4ff1 Fix #376 NewExitError not working, reflect vals[0] cast to Interface() was missing
8 years ago
Dan Buch e0d7cbbe2c Merge pull request #372 from codegangsta/deprecation-cleanups
8 years ago
Dan Buch 007295e509
Cleaning up the recently-introduced deprecations
8 years ago
Dan Buch fed78b8bab
Rework of hidden flag impl plus some Action func corrections
8 years ago
Dan Buch e671f0b23b Merge pull request #339 from jack230230/master
8 years ago
王振威 f72d405107 Change Extras to Metadata
8 years ago
Dan Buch 06c01a4bba
A few tweaks based on feedback in #361
8 years ago
Dan Buch 4cae17cfe1
Ensure MultiError returned when both Before and After funcs given
8 years ago
Dan Buch b453bf5940
Clarifying errors returned from HandleAction + tests
8 years ago
Dan Buch 271b56c71b
Cleanups based on feedback in #361
8 years ago
Dan Buch 7371138edb
Add back App.RunAndExitOnError with deprecation message
8 years ago
Dan Buch 02924293ff
Removing unused vars
8 years ago
Dan Buch d45f7c1fe2
Allow for legacy and newer Action func signatures
8 years ago
Dan Buch f688d47415
Encapsulate ExitCoder check into a lil func
8 years ago
Dan Buch b7329f4968
Switch from multi-return with exit codes to ExitCoder check
8 years ago
Dan Buch a17c8cf1d8
Rename func type suffixes `Fn`->`Func` and add `OnUsageErrorFunc`
8 years ago
Dan Buch 10c8309d84
Merge branch 'develop' of https://github.com/txgruppi/cli into txgruppi-develop
8 years ago
Felamande 3fb51f15e8 use filepath.Base instead of path.Base in Name & HelpName as default values.
8 years ago
Jesse Szwedko bc465beccc Merge pull request #346 from codegangsta/category_sort_2
8 years ago