Commit graph

  • e1e66f7b4e Code commentary Ahsanul Haque 2014-12-13 11:05:43 +0600
  • 9b4b849ce9 Merge 61c3d3486f into bb7f17f9b1 Ahsanul Haque 2014-12-19 03:56:39 +0000
  • bb7f17f9b1 Code commentary Ahsanul Haque 2014-12-13 11:05:43 +0600
  • ddb89f6685 Merge f7825f4104 into 4745f1fd64 Anthony Fok 2014-12-19 03:46:42 +0000
  • 4745f1fd64 In execute(), check if command is Runnable() Anthony Fok 2014-12-11 10:06:11 -0700
  • d281de2459 Merge 5ed62f352a into 6e6b6a9c19 Maciej Szulik 2014-12-19 03:43:57 +0000
  • 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
  • ea9831c676 Fixes to make help topics works. There was code for help topics, but it only kinda sorta worked. The help topics would list all the rest of the commands, help topics on the root command weren't shown, and the hassubcommands would return true even if there were no actual sub commands, only help topics. Nate Finch 2014-12-16 14:56:32 -0500
  • 61c3d3486f Code commentary Ahsanul Haque 2014-12-13 11:05:43 +0600
  • f7825f4104 In execute(), check if command is Runnable() Anthony Fok 2014-12-11 10:06:11 -0700
  • 5ed62f352a Subcommands flag parsing errors print subcommand usage and not root's command usage Maciej Szulik 2014-12-09 14:42:53 +0100
  • 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
  • e4c12c14e2 Merge c8062f4efa into c2c23ac0bd Joel 2014-10-07 19:46:59 +0000
  • 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
  • 8efd253144 Merge b73fe687e6 into d8ec18ee74 Sam Ghods 2014-09-25 23:24:09 +0000
  • b73fe687e6 Replace prefix matching with aliases Sam Ghods 2014-09-25 16:03:34 -0700
  • c8062f4efa changed help flag setup to use PersistenFlags so -h will be supported Joel Scoble 2014-09-12 15:43:50 -0500
  • 8e8b3a508f Merge 892b0b2419 into d8ec18ee74 Brad Dickason 2014-09-08 16:00:32 +0000
  • d8ec18ee74 Fixed typo :D Brad Dickason 2014-09-08 07:18:24 -0700
  • 13477ed41a Merge 9ced97f90c into cdafa9f413 Sam Ghods 2014-09-08 15:59:49 +0000
  • cdafa9f413 Print Long description when printing Help, fixes #20 Sam Ghods 2014-09-03 01:24:07 -0700
  • 892b0b2419 Fixed typo :D Brad Dickason 2014-09-08 07:18:24 -0700
  • 9ced97f90c 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
  • 3cd046cb66 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
  • 74b7a19a41 Merge ac777538f0 into 7ab4fd75e9 Alan Pearce 2014-05-27 18:55:19 +0000
  • 7ab4fd75e9 Fix grammar in readme Alan Pearce 2014-05-27 19:52:47 +0100
  • ac777538f0 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
  • 8f3adc4f38 Fix small typo Ryan Cox 2014-05-04 17:01:50 -0700
  • 59bd285b5f Documentation update spf13 2014-04-11 10:11:09 -0400
  • 69651fcb70 Merge 667c348dbd into e174a40cf5 tummychow 2014-03-26 20:23:25 +0000
  • 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
  • ed47e71aed Merge 98b0a5ab02 into e174a40cf5 Kevin Darlington 2014-02-03 18:54:15 -0800
  • e174a40cf5 Print root usage when help called with no args. Kevin Darlington 2014-02-02 22:20:55 -0500
  • 98b0a5ab02 Print root usage when help called with no args. Kevin Darlington 2014-02-02 22:20:55 -0500
  • 1e1ff9e35e Merge pull request #8 from awilliams/master Steve Francia 2014-01-17 05:19:31 -0800
  • 2e73a96a48 Right aligns "Use" and "Additional help topics" even if they are longer than the min padding awilliams 2014-01-17 13:36:57 +0100
  • 6dd0aa154a Merge pull request #7 from philips/patch-1 Steve Francia 2014-01-11 22:21:44 -0800
  • 2d10990d9e fix(README): simple grammar fixup Brandon Philips 2014-01-11 21:34:06 -0800
  • 88d4f7089f Merge pull request #5 from mcuadros/master Steve Francia 2014-01-02 09:56:32 -0800
  • 56185423c7 Merge pull request #6 from bitdeli-chef/master Steve Francia 2014-01-02 09:56:03 -0800
  • d7f66b2f69 Add a Bitdeli badge to README Bitdeli Chef 2014-01-02 17:58:43 +0000
  • 1378a36255 Fixes in example Máximo Cuadros 2013-12-21 11:32:14 +0100
  • fae133554d Fixing error messaging when upstream flag library is inconsistent. spf13 2013-11-05 20:04:51 -0500
  • 2f19d3c266 Added test for (fixed) bug in upstream library pflag spf13 2013-11-05 19:50:47 -0500
  • 7216b06e83 Rewrote readme spf13 2013-11-05 12:40:10 -0500
  • 79bdde5f6c Refactored code to eliminate need for a commander. Much simpler interface now. spf13 2013-11-01 18:36:24 -0400
  • a2845e7f7a fixed spf13/cobra#1 spf13/hugo#88 spf13 2013-09-30 21:54:46 -0400
  • fb5077acbe Better handling of parsing args to commands, especially the root spf13 2013-09-29 02:03:29 -0400
  • 2d02c310f3 Help improvements spf13 2013-09-29 02:02:49 -0400
  • 6b3d2f2e9a Shorter message when invalid flags provided spf13 2013-09-29 02:01:56 -0400
  • 55ff474dee Finding command based on args cleaned up spf13 2013-09-29 01:59:13 -0400
  • 74ce44d76e Add ability to cast a command to a commander spf13 2013-09-29 01:57:50 -0400
  • 88e482c582 Update read me example spf13 2013-09-29 01:56:04 -0400
  • 39583856c0 fix trailing <nil> on help output spf13 2013-09-28 22:42:30 -0400
  • c491be3a31 Adding Travis status image to readme spf13 2013-09-24 17:08:47 -0400
  • 0556e5fbf9 Moving cobra_test into package cobra for easier testing spf13 2013-09-24 17:04:00 -0400
  • b6689aaea4 more in the readme spf13 2013-09-24 16:52:33 -0400
  • f0d16a4984 more complete readme spf13 2013-09-24 16:45:20 -0400
  • fb2146e9e5 Add support for help command spf13 2013-09-24 16:03:22 -0400
  • 68f3c66d07 Proper handling of flag error messages. Fixing test that wasn't passing. spf13 2013-09-24 13:15:30 -0400
  • 62fb674a93 Organize the files a bit better spf13 2013-09-24 12:47:29 -0400
  • 88b9d2e5cb Adding support for travis ci spf13 2013-09-24 12:39:05 -0400
  • 57fc2cb534 Support and test for custom output. spf13 2013-09-24 12:12:32 -0400
  • b0c5461629 Much improved usage message spf13 2013-09-13 00:09:28 -0400
  • 8858462331 Add decent usage message spf13 2013-09-12 10:32:51 -0400
  • 6067837866 Adding support for a custom output, default to stderr spf13 2013-09-11 09:51:24 -0400
  • 8d87882095 Documentation & housecleaning spf13 2013-09-11 09:20:59 -0400
  • 7ba2df2eff Detect and panic if command is setup as it's own child. spf13 2013-09-10 18:28:58 -0400
  • 90b975fd8e Rewrote DebugFlags() function spf13 2013-09-10 18:27:31 -0400
  • c5eb49e3f5 Add better persistent flags testing spf13 2013-09-10 18:26:46 -0400
  • 061ba30a84 Create and utilize mergePersistentFlags method spf13 2013-09-10 18:26:17 -0400
  • ed6206272d Deleting Extra license file... keeping the better formatted one Steve Francia 2013-09-04 11:48:46 -0400
  • 3f47f33e39 Testing when given missing flag spf13 2013-09-04 11:27:10 -0400
  • ccbe1b2359 Adding debug flags method to a command & commander spf13 2013-09-04 11:26:28 -0400
  • c568b575aa Better testing support. Easy to reset to blank slate in tests. spf13 2013-09-04 11:25:32 -0400
  • a618569eea Better error handling spf13 2013-09-04 11:23:13 -0400
  • 36e08ffd5b Parsing persistentFlags properly (mostly) spf13 2013-09-04 00:15:18 -0400
  • ce6447a965 Properly swallowing flag error messages spf13 2013-09-03 19:17:58 -0400
  • 1be06e4e1a Adding a separate command as a run value. spf13 2013-09-03 19:04:50 -0400
  • 3d8285f415 ignoring compiled test spf13 2013-09-03 18:57:14 -0400
  • bbb8e6e199 initial commit of cobra w/test suite spf13 2013-09-03 18:54:51 -0400
  • 19ec2d48d8 adding license spf13 2013-09-03 18:46:13 -0400