67 Commits (cffab77ecb4f963ced9e30344eb2b9282ef36887)

Author SHA1 Message Date
Ryan Graham 732e97aee8 only display app version and help message once
9 years ago
elij db7af859d2 make help and version parsing use actual specified values
9 years ago
Tristan Zajonc aced6e8739 fix tests
9 years ago
Tristan Zajonc ecb0b5ac0a improve help by including parent command for subcommands
9 years ago
Tristan Zajonc ef65245544 add ArgsUsage to App and Command
9 years ago
Brian Goff 758ad1e836 Sets a subcommand's parent cmd
9 years ago
Martin Falatic 8cae4991af Fixing more formatting
9 years ago
Martin Falatic 4d3820c145 If there are no commands, don't show Commands section. Also fixed Copyright section formatting.
9 years ago
Martin Falatic 595c055010 If Version is an empty string, suppress version output in usage help.
9 years ago
Jesse Szwedko 7ad88c2740 Merge pull request #238 from polds/copyright
9 years ago
Peter Olds 4a11a6ba05 Remove whitespace #238
9 years ago
Peter Olds 2726643347 Add the ability to add a copyright
9 years ago
Jesse Szwedko 2272dad83e Version and help check should look for local flags too
9 years ago
Victor Vieux 7c041f5811 do not print 'AUTHOR(S):' is there is no author
10 years ago
jszwedko e842547421 Readd printHelp function back
10 years ago
Dan Buch 2bcd11f863 Merge pull request #193 from codegangsta/add-aliases
10 years ago
陈小玉 84630daaf4 Update help.go
10 years ago
jszwedko bf65971a6a Add `Command.Aliases` and deprecate `Command.ShortName`
10 years ago
Jesse Szwedko 3e0905345c Merge pull request #186 from nrdufour/master
10 years ago
Nicolas Dufour 4be878bffc Fixing the issue with a command with subcommands not showing help message.
10 years ago
Harrison c6592bb487 app, help: add backwards compatibility for Authors
10 years ago
Harrison 3d7183307a app, help: add support for multiple authors
10 years ago
Dan Buch a14c5b47c7 Merge pull request #154 from codegangsta/allow-writer-to-be-set
10 years ago
Jesse Szwedko e7849f9239 Merge pull request #128 from nbjahan/patch-1
10 years ago
jszwedko e72094e6a4 Prefer fmt.Fprint* functions over io.WriteString
10 years ago
jszwedko b8c8282de5 Merge remote-tracking branch 'origin/master' into allow-writer-to-be-set
10 years ago
jszwedko 0d4870d63e Rename Stdout -> Writer
10 years ago
pivaldi 59ef9567ae Fix bash completion for deep level subcommands
10 years ago
Nima Jahanshahi 4db56687fa Fixed ShowSubcommandHelp
10 years ago
Josh Mervine 120f0688a4 Merge remote-tracking branch 'parent/master'
10 years ago
Jeremy Saenz ec11175ac1 Merge pull request #123 from AudriusButkevicius/help
10 years ago
Audrius Butkevicius 527fbe0671 Unify template formatting
10 years ago
Audrius Butkevicius fcc1613bb5 Do not show empty description section
10 years ago
Audrius Butkevicius e38bac8225 Print author
10 years ago
Audrius Butkevicius bc02933ea4 Fix Subcommand help text
10 years ago
Audrius Butkevicius d6d4e6448b Hide "Options" sections in help, if no flags are defined
10 years ago
Joshua Mervine 5821632000 Adding VersionPrinter and tests.
10 years ago
John Hopper 60e3dcaf6d Allow a writer to be set that represents Stdout so that redirection of App output may occur.
10 years ago
Jack Christensen 357921b483 Use HelpPrinter in ShowCommandHelp
11 years ago
Jeremy Saenz 5e1cde20d3 Merge pull request #75 from Winslett/command-not-found
11 years ago
Summer Mousa 705994c2c6 Added unit tests
11 years ago
Summer Mousa 13f0c8c0f6 More consistent implementation of recursive subcommands
11 years ago
Summer Mousa 3a10545f91 Made bash completion command optional; still need to update documentation
11 years ago
Summer Mousa 0b29bee364 merging code
11 years ago
Chris Winslett 37299d4e5a Customizable command not found function
11 years ago
Tim Jarratt 58bfabca6d Add a way to override the app help printer
11 years ago
Alexander Rødseth 22a56266c5 Removed the function and data structure for generating man pages
11 years ago
Alexander Rødseth 1bea6dcbf0 Custom type for arguments
11 years ago
Alexander Rødseth 7050f048d1 Added simple man page support
11 years ago
Jeremy Saenz b25b7a883c JMS #39: Removed all calls to os.Exit().
11 years ago