Commit Graph

  • 42e6ce397f Fixed Persistent-Run function propagation Anastasis Andronidis 2015-05-04 03:36:05 +0200
  • 3ee9552eeb Merge pull request #100 from eparis/pre-post-run Eric Paris 2015-04-30 13:26:01 -0500
  • fad5931693 Add docs, tests, and bit of rearrainging... Eric Paris 2015-04-30 13:58:29 -0400
  • fbce60cc56 added persistent pre/post commands. Alexander Thaller 2015-02-17 22:09:49 +0100
  • 2df64026ba added pre and post run hooks. Alexander Thaller 2015-02-09 23:44:14 +0100
  • 9cf0f3737d Merge pull request #90 from eparis/deprecated-subcommands Eric Paris 2015-04-30 10:22:48 -0500
  • 7c7837e882 Merge pull request #85 from eparis/more-simplification Eric Paris 2015-04-30 10:21:12 -0500
  • 2d5fab043c Merge pull request #75 from eparis/CommandLine Eric Paris 2015-04-30 10:20:35 -0500
  • c3e48f996d Deprecated subcommands Eric Paris 2015-04-07 17:38:22 -0400
  • 69e5f196b5 Merge pull request #98 from eparis/markdown-quiet-test Eric Paris 2015-04-28 09:43:10 -0500
  • a112838e26 quiet down to go test for markdown generation Eric Paris 2015-04-28 10:42:03 -0400
  • af6b555418 Merge pull request #95 from deads2k/deads-prevent-extra-removal Clayton Coleman 2015-04-28 10:06:27 -0400
  • 36aee64abe prevent removal of valid arguments deads2k 2015-04-24 11:39:11 -0400
  • ebb2d55f56 Merge pull request #97 from sdboyer/patch-1 Bjørn Erik Pedersen 2015-04-26 16:23:45 +0200
  • 476e73f093 Fix misspelling typo Sam Boyer 2015-04-26 08:53:29 -0400
  • d697cc29c1 Merge pull request #96 from commonlisp/master Bjørn Erik Pedersen 2015-04-25 22:31:21 +0200
  • c4667c9e63 Fixed typo in md output George Kuan 2015-04-25 10:59:26 -0700
  • 3c187e9045 Merge pull request #93 from kennyballou/minor_grammar_fix Eric Paris 2015-04-16 16:19:32 -0500
  • f491ee284b Fix minor wording issue in README kballou 2015-04-16 15:15:33 -0600
  • 9cb5e85029 Merge pull request #92 from eparis/sort-valid-args Eric Paris 2015-04-13 17:59:01 -0500
  • 0fc734c3c5 Sort the valid args before output Eric Paris 2015-04-13 18:44:05 -0400
  • c0da825198 Merge pull request #87 from eparis/gen-md-doc Eric Paris 2015-04-12 13:45:33 -0500
  • 8a18f25809 Auto generation of markdown docs! Eric Paris 2015-04-06 23:38:51 -0400
  • c746d30ef0 Merge pull request #69 from eparis/command-annotations Eric Paris 2015-04-10 23:20:17 -0500
  • 9ea4cdf081 Merge pull request #91 from PeterDaveHello/patch-1 Eric Paris 2015-04-10 23:20:05 -0500
  • a40354f0bd Use svg instead of png to get better image quality Peter Dave Hello 2015-04-10 07:15:21 +0800
  • a068307565 add a helper to annotate a flag as 'required' by a command Eric Paris 2015-03-17 15:14:06 -0400
  • 9b2e6822e5 Add bash autocompletion generator Eric Paris 2015-03-16 15:31:03 -0400
  • b78326bb16 Merge pull request #88 from eparis/subhelptest Eric Paris 2015-04-07 18:26:15 -0500
  • aab4e37189 Merge pull request #89 from eparis/line-in-go-test-error Eric Paris 2015-04-07 17:05:46 -0500
  • 86a16864ea Add tests about additional help topics Eric Paris 2015-04-07 11:56:08 -0400
  • 9692856020 print line number in go test failures Eric Paris 2015-04-07 15:50:08 -0400
  • f576d29563 Merge pull request #82 from bep/mousetrap Eric Paris 2015-04-06 15:49:03 -0500
  • 0ea881ce45 Merge pull request #60 from dohzya/remove-command Eric Paris 2015-04-06 15:18:42 -0500
  • bbc51773c3 Merge pull request #77 from eparis/additional-help-topics Eric Paris 2015-04-06 15:04:48 -0500
  • 794a362808 Remove specail casing in Execute() Eric Paris 2015-04-06 15:24:36 -0400
  • b9e25fa4a0 Slight formatting change, to make next commit more readable Eric Paris 2015-04-06 14:54:26 -0400
  • 29e27b1649 Merge pull request #84 from eparis/subcommand-invalid-flag Eric Paris 2015-04-06 14:57:12 -0500
  • bd0f8a846e Stop special casing runnable root commands Eric Paris 2015-03-28 23:56:22 -0400
  • fe581720ad New tests (they don't all pass) Eric Paris 2015-04-06 13:43:44 -0400
  • 09b49c329c Merge pull request #83 from adammck/fix_double_output_on_unknown_command Eric Paris 2015-04-03 15:28:12 -0500
  • 2c370cd936 Fix redundant error for unknown root command Adam Mckaig 2015-04-03 01:07:34 -0400
  • beda1945ad Add mousetrap for Windows users bep 2015-04-01 21:14:40 +0200
  • be3cf39f80 Set Go version to 1.4.2 in Travis config bep 2015-04-01 19:20:00 +0200
  • be1667c3f0 Add Go 1.4 to Travis config bep 2015-04-01 19:14:27 +0200
  • bea8ba9ce6 Update Go versions in Travis config bep 2015-04-01 19:04:27 +0200
  • 79bd93d369 Add test for persistent bool flag on subcommand Jeff Lowdermilk 2015-03-18 14:42:38 -0700
  • fd10548830 Fix additional help topics template Eric Paris 2015-03-20 14:47:56 -0400
  • c64442a487 fix usage template conditional Eric Paris 2015-03-20 13:59:32 -0400
  • 384c059f4b Help uses Short message if Long is not available Edgard Castro 2015-03-18 21:50:26 -0300
  • f81b784738 Make flags declared outside spf13.pflag persistent flags on the parent Eric Paris 2015-03-19 14:18:43 -0400
  • e784a59910 fix missing newline in help output introduced in bf480fe628 Jason Moiron 2015-03-14 19:44:58 +0000
  • 6de96b849c Default usage output to stdout Eric Paris 2015-03-18 11:16:12 -0400
  • 6264dc67e1 Merge pull request #70 from brendandburns/master Bjørn Erik Pedersen 2015-03-17 00:30:08 +0100
  • 93278e2f35 Add mergePersistentFlags in strip flags since we now look at the flag set. Brendan Burns 2015-03-16 12:47:32 -0700
  • 9e7273d546 Remove some wonky error handling, as upstream seems correct now. Also, it's buggy for nested commands. Brendan Burns 2015-03-11 10:22:30 -0700
  • 5b56110fb0 Add tests for RemoveCommand Étienne Vallette d'Osia 2015-03-13 16:30:33 +0900
  • 0e7e122c81 Add README section for RemoveCommand Étienne Vallette d'Osia 2015-03-13 12:40:00 +0900
  • f479c924b8 Add Command's RemoveCommand method Étienne Vallette d'Osia 2015-03-03 15:50:53 +0900
  • 2cb625eda3 Remove some wonky error handling, as upstream seems correct now. Also, it's buggy for nested commands. Brendan Burns 2015-03-11 10:22:30 -0700
  • bbdea35c49 Fix stripFlags to be more intelligent about what it parses. Brendan Burns 2015-03-11 11:52:35 -0700
  • 5c9146990b Explicitly support local flags overwriting persistent/inherited flags Jeff Lowdermilk 2015-02-27 16:26:56 -0800
  • fd2b84c4e2 Add Command's RemoveCommand method Étienne Vallette d'Osia 2015-03-03 15:50:53 +0900
  • f8e1ec56bd new NonInheritedFlags() which give all flags which were not persisted from a parent command Eric Paris 2015-02-13 19:45:00 -0500
  • b96dd75141 new InheritedFlags() command to tell all flags which persisted from a parent Eric Paris 2015-02-13 19:44:12 -0500
  • bf480fe628 New "example" section of commands Eric Paris 2015-02-12 18:12:07 -0500
  • a16cb24999 help displays command names instead of usage in Available Commands Masahiro Sano 2015-02-11 18:20:29 +0900
  • 07a9dc0024 Update README.md to describe help behavior without subcommands Clayton Coleman 2015-02-02 14:53:21 -0500
  • bd75ea1d19 Updated test corresponding to #49 Kartik Singhal 2015-01-31 21:38:05 +0530
  • c36f627ba6 Minor English correction Kartik Singhal 2015-01-31 21:33:26 +0530
  • efb045ec60 Restores the ability to fetch local only flags fabianofranz 2015-01-29 18:55:29 -0200
  • e1e66f7b4e Code commentary Ahsanul Haque 2014-12-13 11:05:43 +0600
  • 4745f1fd64 In execute(), check if command is Runnable() Anthony Fok 2014-12-11 10:06:11 -0700
  • 6e6b6a9c19 Subcommands flag parsing errors print subcommand usage and not root's command usage Maciej Szulik 2014-12-09 14:42:53 +0100
  • 1cb31604a1 small formatting change to readme spf13 2014-12-18 22:41:49 -0500
  • 033c83bc5e Subcommands flag parsing errors print subcommand usage and not root's command usage Maciej Szulik 2014-12-09 14:42:53 +0100
  • b825817fc0 Merge pull request #32 from smarterclayton/hide_subcommand_help_for_root_only_command Steve Francia 2014-11-12 16:52:16 -0500
  • 9b6c92647a When no subcommands are registered, omit command help output Clayton Coleman 2014-11-11 23:32:54 -0500
  • b1e90a7943 Making prefix matching opt in. spf13 2014-10-07 16:15:19 -0400
  • c2c23ac0bd adding support for prefix matching against aliases & names spf13 2014-10-07 15:41:19 -0400
  • 881657297e Replace prefix matching with aliases Sam Ghods 2014-09-25 16:03:34 -0700
  • 83b58a2f9b changed help flag setup to use PersistenFlags so -h will be supported Joel Scoble 2014-09-12 15:43:50 -0500
  • d8ec18ee74 Fixed typo :D Brad Dickason 2014-09-08 07:18:24 -0700
  • cdafa9f413 Print Long description when printing Help, fixes #20 Sam Ghods 2014-09-03 01:24:07 -0700
  • 8d72c1e167 Fix typo mistake on README Hugo Leonardo Costa e Silva 2014-08-05 21:28:49 -0300
  • 864687ae68 Adding "OnInitialize()" method instead of directly setting a property. Now can have multiple initializers. spf13 2014-07-11 10:57:53 -0400
  • 7cebca3761 Add support for an InitializeConfig method as defined on Cobra by the user spf13 2014-06-27 12:27:46 -0400
  • 10a8494a87 Support for flags before commands spf13 2014-06-17 12:32:27 -0400
  • 07be8145cc Adding support for --help spf13 2014-06-17 12:28:42 -0400
  • 3e874b31b7 Test confirming fixed #11 spf13 2014-06-13 20:45:55 -0400
  • 1a6c5d1d21 Remove "::" from output. Fixed #4 spf13 2014-06-13 20:06:09 -0400
  • 71bb1dfdcd Cobra behavior is now more consistent. Invalid flags cause Usage to be printed. spf13 2014-06-13 20:00:56 -0400
  • 7ab4fd75e9 Fix grammar in readme Alan Pearce 2014-05-27 19:52:47 +0100
  • 0330aef05c Fix small typo Ryan Cox 2014-05-04 17:01:50 -0700
  • 59bd285b5f Documentation update spf13 2014-04-11 10:11:09 -0400
  • 667c348dbd Test behavior for subcommand with same name as root command tummychow 2014-03-26 16:19:34 -0400
  • 4c29b190e0 Add basic test for prefix matching tummychow 2014-03-26 04:56:46 -0400
  • 96d543cf2c Reset root command lists in testing tummychow 2014-03-26 04:54:47 -0400
  • f4c075f8f8 Add command name prefix matching tummychow 2014-03-26 04:53:00 -0400
  • e174a40cf5 Print root usage when help called with no args. Kevin Darlington 2014-02-02 22:20:55 -0500