Commit graph

  • eb58983359 Add CalledAs method to cobra.Command (w/ tests) (#567) Tim Peoples 2018-02-04 08:58:53 -0800
  • 9979838ec4 Fix attemptd assignment to non-variable in bash 3 (#628) Kazuki Suda 2018-02-05 01:42:17 +0900
  • eb6111705f Use -gt instead of > Kazuki Suda 2018-02-04 23:02:14 +0900
  • f1f7ec2c85 Fix attemptd assignment to non-variable in bash 3 Kazuki Suda 2018-02-04 22:10:59 +0900
  • ee504cbef1 Add usage example for required flags jakekdodd 2018-02-02 17:16:17 -0800
  • 3a7eb146ba fix grammatical error in command.go (#626) Shamus Taylor 2018-02-02 00:04:56 -0600
  • d63aa3aa93
    fix grammatical error in command.go Shamus Taylor 2018-02-01 18:06:38 -0600
  • 9b4d25b7e9 Do not add a space after a single flag completion Eric Paris 2018-01-29 21:23:24 -0600
  • f91529fc60 Fix a couple typos (#621) Ryan Guest 2018-01-23 23:31:43 -0800
  • 2f71e9e42c Fix a couple typos Ryan Guest 2018-01-23 08:59:37 -0800
  • 5857d322c8 Add Set* functions to allow overriding of localised values after create Nathan Rijksen 2018-01-22 14:20:47 -0500
  • 46f41fce47 Refactor to re-use more code between Traverse and stripFlags() Daniel Nephin 2018-01-17 13:46:54 -0500
  • b1195d1aef mergePersistentFlags in Traverse Gary Miller 2018-01-17 17:50:02 +1100
  • e3696aed41 Merge 1972d4ec3b into 0c34d16c31 wxio 2018-01-16 06:03:39 +0000
  • 1972d4ec3b merge flags & check bool regular flag Gary Miller 2018-01-16 16:30:46 +1100
  • 92aeee7d6c test if short flag is a bool setting inFlag Gary Miller 2018-01-16 13:16:07 +1100
  • 0c34d16c31
    cmd: Fix #612 (#614) Albert Nigmatzianov 2018-01-15 17:09:33 +0100
  • 1e75c3e13b cmd: Fix #612 Albert Nigmatzianov 2018-01-15 16:58:59 +0100
  • b95ab734e2 Remove trailing whitespace in rootcmd (#606) Patrick Uiterwijk 2017-12-31 11:15:56 +0100
  • 4a177a2ba5 Remove trailing whitespace in rootcmd Patrick Uiterwijk 2017-12-30 13:56:22 +0100
  • 0060560141 I had a whitespace to much in init.go:init() which shouldn't be there. Fixes failing CirleCI test Raphael Tiersch 2017-12-25 14:33:02 +0100
  • b1f355e936 Added/Corrected golden file test for creating a project named testproject with viper active Raphael Tiersch 2017-12-25 14:24:22 +0100
  • ad974c59c7 Merge branch 'master' into forkMaster Raphael Tiersch 2017-12-22 15:21:14 +0100
  • f17ce42b2e Added --description flag to cobra tool Giuseppe Maxia 2017-12-13 11:24:59 +0100
  • d018fcb53c fix indentation Rajat Jindal 2017-12-07 00:02:22 -0800
  • 3e43000132 support cmdAliases Rajat Jindal 2017-12-06 23:57:25 -0800
  • ccaecb155a Ensure that '--version' flag works properly for root command (#595) Nick Miyake 2017-12-06 23:49:35 -0800
  • f8d9e63479 Ensure that '--version' flag works properly for root command Nick Miyake 2017-12-06 23:08:30 -0800
  • c156af3984 Explain OnInitialize better in the GoDoc (#594) Jonathan Hall 2017-12-06 19:18:45 +0100
  • 40e3504777 Explain OnInitialize better in the GoDoc Jonathan Hall 2017-12-06 18:29:51 +0100
  • de2d9c4eca Add alibaba/pouch in README.md (#593) Allen Sun 2017-12-04 07:13:25 -0600
  • 8c630aca65 doc: add alibaba/pouch in README.md Allen Sun 2017-12-04 20:01:31 +0800
  • 3a5f27b046 doc: Add a necessary blank line after SEE ALSO (#592) Allen Sun 2017-12-04 04:43:02 -0600
  • d7e2da1619 test: add a necessary blank line after SEE ALSO Allen Sun 2017-12-04 17:40:09 +0800
  • 45a52e208c doc: Remove one additional blank line after Synopsis (#591) Allen Sun 2017-12-04 03:21:50 -0600
  • 292c2dbe65 test: remove one additional blank line after Synopsis Allen Sun 2017-12-04 17:02:31 +0800
  • 9e471089f7 Merge f7cf027053 into 86783686ca Mester 2017-12-03 19:08:33 +0000
  • 86783686ca Add documentation for '--version' flag to README (#590) Nick Miyake 2017-12-02 09:59:49 -0800
  • 084fc5b0e4 Add documentation for '--version' flag to README Nick Miyake 2017-12-02 08:57:45 -0800
  • b1ec2ce1ad Add support for --version flag (#584) Nick Miyake 2017-12-01 13:37:16 -0800
  • aaf72acb8f Add support for --version flag Nick Miyake 2017-12-01 13:19:20 -0800
  • 1fa4fb4d3b #578: allow aliases to work with completions Rajat Jindal 2017-11-29 14:37:41 -0800
  • 1be1d2841c Make rootCmd private Nick Miyake 2017-11-22 16:13:03 -0800
  • e95cb7d71f Make rootCmd private Nick Miyake 2017-11-22 16:13:03 -0800
  • fb02817f3c Fix README example to be consistent with others (#585) Nick Miyake 2017-11-22 13:30:46 -0800
  • d8e99bec20 Fix README example to be consistent with others Nick Miyake 2017-11-22 13:25:52 -0800
  • 19e54c4a2b Update error message for missing required flags (#580) Nick Miyake 2017-11-19 01:22:51 -0800
  • 34ceca591b Disable flags in UseLine (#552) Daniel Nephin 2017-11-19 02:58:54 -0500
  • 27d3764e77 Merge 16823c44f6 into d6948b782c Di Xu 2017-11-19 05:14:23 +0000
  • 16823c44f6 remove hard-coded "[flags]" in UseLine Di Xu 2017-11-19 13:10:10 +0800
  • 24f029a906 Update error message for missing required flags Nick Miyake 2017-11-17 22:31:09 -0800
  • d6948b782c Fix minor typo (#579) Tyler Butler 2017-11-16 21:24:59 -0800
  • 0289834e7a
    Fix minor typo Tyler Butler 2017-11-16 20:40:12 -0800
  • f7cf027053 Added padding to template themester 2017-11-11 17:58:40 +0100
  • b415b76121 Added ValidArgs as object to prevent memory wasting using new Command to subsubcommands themester 2017-11-11 00:01:00 +0100
  • 69c0cab3cb Merge c6ba770ffd into 2da4a54c5c Nick Miyake 2017-11-10 17:43:54 +0000
  • c6ba770ffd Improve error message for missing required flags Nick Miyake 2017-11-10 09:37:15 -0800
  • 2da4a54c5c Improve tests in doc/ Albert Nigmatzianov 2017-11-02 16:22:38 +0100
  • d6a430541c Edit ResetFlags and ResetCommands descriptions Albert Nigmatzianov 2017-11-02 14:27:24 +0100
  • 65c8acb228 Improve tests Albert Nigmatzianov 2017-10-31 19:58:37 +0100
  • 099c5aef9e Add dots in comments of args.go Albert Nigmatzianov 2017-10-31 19:57:53 +0100
  • 18eefcde17 Add tests for args.go Albert Nigmatzianov 2017-10-31 19:57:17 +0100
  • f634327172 Fix typo (#573) Pavol Loffay 2017-11-08 11:47:54 +0100
  • 184c6dfd0b Fix typo Pavol Loffay 2017-11-08 10:25:20 +0100
  • 11970bde78 Fixed formatting Tim Peoples 2017-11-05 11:28:54 -0800
  • 94eba18f8c Add CalledAs method to Command (w/ tests) Tim Peoples 2017-11-05 11:13:35 -0800
  • 070f6ff0a8 enable changing the command separator when generating markdown Matthew Fisher 2017-11-03 13:00:06 -0700
  • 92e0f72b31 Improve tests in doc/ Albert Nigmatzianov 2017-11-02 16:22:38 +0100
  • d382f61fbb Edit ResetFlags and ResetCommands descriptions Albert Nigmatzianov 2017-11-02 14:27:24 +0100
  • 0b9fb00daf Improve tests Albert Nigmatzianov 2017-10-31 19:58:37 +0100
  • d1f940418e Add dots in comments of args.go Albert Nigmatzianov 2017-10-31 19:57:53 +0100
  • 69ad99d1f1 Add tests for args.go Albert Nigmatzianov 2017-10-31 19:57:17 +0100
  • b3426bbac1 Remove confusing duplicate Execute from README (#554) Paweł Słomka 2017-10-29 22:09:45 +0100
  • deba9d5b4f Remove confusing duplicate Execute from README Paweł Słomka 2017-10-28 21:39:05 +0200
  • 5bc62ceeec Disable flags in UseLine Daniel Nephin 2017-10-26 11:51:12 -0400
  • 7b2c5ac9fc Create new buffer if not present yet (#549) v0.0.1 Thomas Cyron 2017-10-12 20:25:33 +0200
  • 18a2358376 Create new buffer if not present yet Thomas Cyron 2017-10-12 19:23:47 +0200
  • 7cd9cc6d44 add test for c.Name() if c.Use gets changed (#548) Di Xu 2017-10-12 11:50:22 -0500
  • 0a08f4fc7e add test for c.Name() if c.Use gets changed Di Xu 2017-10-12 08:29:41 +0800
  • 40f18800b2 Delete name field from Command (#547) Albert Nigmatzianov 2017-10-11 16:15:37 +0200
  • 60e897397e Delete name field from Command Albert Nigmatzianov 2017-10-11 15:07:24 +0200
  • 845c905010 Fix typo Kazuki Suda 2017-10-11 12:02:03 +0900
  • d270b72529 Fix typo Kazuki Suda 2017-10-11 12:02:03 +0900
  • 4d6af280c7 enforce required flags (#502) Di Xu 2017-10-09 22:44:33 -0500
  • e7f7d07b5c enforce required flags Di Xu 2017-07-27 18:14:47 +0800
  • 31be0aa2f6 Merge d708fb7fd6 into 50204810fd snwfdhmp 2017-10-09 09:03:16 +0000
  • d708fb7fd6 Added CustomData snwfdhmp 2017-10-09 10:56:41 +0200
  • 50204810fd Grammar addition (#543) Clayton Ray 2017-10-09 02:28:07 -0400
  • 3082edf47d Grammar addition Clayton Ray 2017-10-08 20:23:40 -0400
  • 83b1f03962 Add a TraverseChildren option to allow for flags on each command in the hierarchy (#299) Daniel Nephin 2017-10-07 17:29:11 -0400
  • f13905cded Document traversal in README Daniel Nephin 2017-10-06 22:11:15 -0400
  • 419e0f8d51 doc: add ReST doc generation (#537) Shahidh K Muhammed 2017-10-07 23:09:47 +0530
  • 0d1ac492c3
    fix conflicts, add section to table of contents Shahidh 2017-10-07 22:32:27 +0530
  • 186b1c3ef0
    remove repetitive doc generating headings, combine all to one heading Shahidh 2017-10-07 21:08:37 +0530
  • 83e1b0eeb5
    add reference to rest docs in readme Shahidh 2017-10-07 20:59:13 +0530
  • d34f8d4094 Fix a bug in traversal with detecting flags. Daniel Nephin 2016-08-09 11:03:27 -0400
  • 419884c85a Add more Traverse tests. Daniel Nephin 2016-06-29 19:32:01 -0400
  • 6259b8dea9 Traverse commands for args on parents. Daniel Nephin 2016-06-27 16:51:07 -0400
  • bc69223348 Fix dead link in README for cobra generator Albert Nigmatzianov 2017-10-06 21:18:12 +0200
  • e8e7fe0355 Shorten README Albert Nigmatzianov 2017-10-02 11:32:00 +0200