Commit graph

  • b549b4ca19 Merge tag '0.0.5' into develop Brian Meyers 2019-02-22 14:20:44 -0500
  • e4569a214a
    Merge pull request #5 from OneCloudInc/release-0.0.5 Brian Meyers 2019-02-22 14:20:26 -0500
  • 96868d8f05 Only change the CLI tool to use OneCloudInc Brian Meyers 2019-02-22 14:20:00 -0500
  • 8b91f1a653 Merge tag '0.0.4' into develop Brian Meyers 2019-02-22 13:43:40 -0500
  • fe83a627d2
    Merge pull request #4 from OneCloudInc/release-0.0.4 Brian Meyers 2019-02-22 13:43:17 -0500
  • 4b2965f3d6 Fixed tests and added dep Brian Meyers 2019-02-22 13:38:36 -0500
  • 65c085b0b3
    Merge pull request #1 from OneCloudInc/feature-oc-generator Brian Meyers 2019-02-22 13:20:29 -0500
  • b3a45b8407 Allow both persistent and local flags for root vs command. Removed default viper. Allow flags to be set on the rootCmd as well. Brian Meyers 2019-02-22 13:19:46 -0500
  • bcc54ae73f Custom generator that will generate arguments and flags right from the command line Brian Meyers 2019-02-22 13:06:52 -0500
  • 9224a9a8f3 Rename packages to use OneCloud Brian Meyers 2019-02-22 12:58:38 -0500
  • a953d2898e Merge remote-tracking branch 'upstream/master' into required_flags_func @brxd 2019-02-19 09:12:52 -0700
  • 562fec2fa8
    Update README.md linzhaoming 2019-02-17 14:57:17 +0800
  • 51107bf5ae Adding Mattermost as Go project that is built using Cobra joshuabezaleel 2019-02-13 22:33:44 +0700
  • 4eb5e0aeba Fix error formatting based on best practices from Code Review Comments CodeLingo Bot 2019-02-05 05:45:16 +0000
  • 20a9b1acef Merge branch 'master' of github.com:spf13/cobra into custom-help-verb Chase Hutchins 2019-01-24 14:27:10 -0700
  • bd50896c8d Merge branch 'custom-help-verb' of github.com:syntaqx/cobra into custom-help-verb Chase Hutchins 2019-01-24 14:02:32 -0700
  • 346dd1da26 undo fmt Chase Hutchins 2019-01-24 14:02:26 -0700
  • 9422ae6567 fmt even though I didnt touch this? Chase Hutchins 2019-01-24 13:58:49 -0700
  • 64bd4318af move helpverb default higher in the execute stack Chase Hutchins 2019-01-24 13:56:59 -0700
  • 191297c568 allow for a word other than "help" for the help command and flag Chase Hutchins 2019-01-24 13:51:50 -0700
  • c7fb68aecc fixed typo in cobra readme artlovan 2019-01-17 21:31:16 -0500
  • f334702cb2
    added variable to allow configuration of mousetrap message duration Willi Eggeling 2019-01-14 12:12:07 +0100
  • b0588529e0
    Fix two word flags Daisuke Taniwaki 2019-01-13 00:56:19 +0900
  • 492264d440 Remove redundant else Sergey 2019-01-11 00:03:21 +0500
  • 7547e83b2d Run tests against go 1.11 and drop 1.9 (#737) Michael 2019-01-09 00:34:09 +0000
  • 8da2943db0
    zsh: sort the commands to keep a determinist output Michael Muré 2018-12-27 20:08:32 +0100
  • 28dd097db8 backwards conditional logic -_- Aaron Paz 2018-12-26 23:47:39 -0800
  • 22a124de4a adding --force flag to initCmd Aaron Paz 2018-12-26 22:47:12 -0800
  • 8e60c0514a Return nil by default in preRunE Wayne Warren 2018-12-20 10:28:19 -0600
  • 77f5b8b4ec Fix preRunE return signature Wayne Warren 2018-12-20 10:26:54 -0600
  • 380782a995 Fix OnInitializeE Wayne Warren 2018-12-20 10:24:59 -0600
  • 4cf9a0c444 issue#798 support initializers that return error Wayne Warren 2018-12-20 10:21:06 -0600
  • 86032b9bc7 756-vgo-support - fix formatting jharshman 2018-12-14 19:00:29 -0800
  • 112b5c06b4 string not bool Joshua Harshman 2018-10-11 16:09:02 -0700
  • dd934029fb 756-vgo-support - fix existing tests Joshua Harshman 2018-10-11 16:06:57 -0700
  • ff6025496a remove comment Joshua Harshman 2018-10-11 16:00:53 -0700
  • e570cad58a 756-vgo-support - add vgo bool flag Joshua Harshman 2018-10-11 11:38:30 -0700
  • d1fed398ec Add go 1.11.x version Saddam H 2018-12-11 12:12:55 +0600
  • d2d81d9a96 Fix too many underscore for __custom_func (#794) Daisuke Taniwaki 2018-11-27 22:31:06 +0900
  • d7ba303ed4
    Fix typo of too many leading underscores in docs Daisuke Taniwaki 2018-11-27 16:59:25 +0900
  • fac49b225d
    Fix too many underscore for __custom_func Daisuke Taniwaki 2018-11-27 16:02:37 +0900
  • deacc2c027 Fixed Help not showing on non runnable command Vinicyus Macedo 2018-11-19 12:52:41 -0200
  • e4ee09e8b2 Adding istio to the list of projects that use cobra praveensastry 2018-11-12 10:01:11 +1100
  • acf2553c23 Adding istio to the projects that use cobra psastry 2018-11-12 09:55:50 +1100
  • e2570c90ff Add setters for default help strings Andrew Meyer 2018-11-06 09:05:10 -0600
  • dacc9a05e3 Have to CalledAs return the name the function was called as. Gautam Dey 2018-11-05 10:59:47 -0800
  • 28c4487f58 Add a new ValidateRequiredFlagsFunc to Command to customize the required flag validation behavior. This is useful to customize the validation and messaging when you have to set, say, either flag1 or flag2, but not both. Burak Serdar 2018-11-02 09:12:17 -0600
  • 964f12cf87
    command: Fix typo in docstring of InheritedFlags Indradhanush Gupta 2018-10-30 13:54:56 -0700
  • b2f59f4947
    specify the color as the required arg jay vyas 2018-10-27 09:20:53 -0400
  • 6a464c0f8b Update CircleCI config Harald Nordgren 2018-10-25 20:27:20 +0200
  • a6c1d946d5 Run fmt diff tool only for Go 1.11.x Harald Nordgren 2018-10-25 00:28:06 +0200
  • fe5e611709 doc: obey SOURCE_DATE_EPOCH with manpage generation (#735) Aleksa Sarai 2018-10-22 01:11:14 +1100
  • f619abc1d7 Added ExactValidArgs (#765) bpdunni 2018-10-21 10:01:21 -0400
  • f28371eea1 Fix fmt failures Harald Nordgren 2018-10-21 15:50:12 +0200
  • 4dbaa47f9c Quote bash variables in bash_completion.go, fixes #766 Brian Williams 2018-10-20 19:03:44 -0500
  • 90b8f3acb7 Print errors to stderr in cobra init boilerplate Brian Williams 2018-10-20 18:14:02 -0500
  • d2d06612ed Bump Travis versions and let patch versions float freely Harald Nordgren 2018-10-19 21:44:36 +0200
  • 524b748fd2
    Update Example Arief Rahmansyah 2018-10-18 23:31:18 +0800
  • 40172f1635 Remove unneeded imports from README.md example (#767) Garret Kelly 2018-10-18 10:37:54 -0400
  • a7319a1a97 Remove unneeded imports from README.md example Garret Kelly 2018-10-17 21:10:33 -0400
  • 720c3c2ffa Added ExactValidArgs Brian Dunnigan 2018-10-15 21:55:06 -0400
  • 08b4554a09 Add flag that gives the ability to disable bash default completion Georgios Andrianakis 2018-10-04 17:57:23 +0300
  • 25f52164ea Changed environ to a fixed version and updated the usage to the rewrite of environ. Raphael Tiersch 2018-09-30 21:51:13 +0200
  • b027e5076b Merge branch 'master' into pr_environ Raphael Tiersch 2018-09-30 21:20:44 +0200
  • 8d114be902 README: Remove Unneeded Newline (#746) Alex Mayer 2018-09-15 18:22:04 -0400
  • 2c03721526 README: Remove Unneeded Newline Alex Mayer 2018-09-15 12:17:28 -0400
  • 3ee8c68c6b Fixed automated merge - one conflict Raphael Tiersch 2018-09-04 22:34:09 +0200
  • c9cb21db45 Merge remote-tracking branch 'me/master' into environPR Raphael Tiersch 2018-09-04 21:48:36 +0200
  • d2509787f7
    Merge 22867c5108 into 99dc123558 Matt Heindl 2018-08-29 21:10:44 +0000
  • 99dc123558 Replace Giant Swarm 'swarm' with 'gsctl' (#738) Marian Steinbach 2018-08-29 18:07:45 +0200
  • 175f0ce223
    Replace Giant Swarm 'swarm' with 'gsctl' Marian Steinbach 2018-08-29 17:20:23 +0200
  • 6671edee26 Adapt to new gofmt formatting Michael Käufl 2018-08-28 22:54:03 +0200
  • 144d7bc199 Update the Travis and CircleCI Go versions Michael Käufl 2018-08-28 21:53:37 +0200
  • 22867c5108 style($fmt): Cleans up code with 'go mod tidy', 'go fmt' and 'go vet'. mph 2018-08-28 06:05:51 -0500
  • 5d83e1d412 fix($mod): Initiates as a module and upgrades go-md2man to repair breaking dependency. mph 2018-08-27 20:58:30 -0500
  • 29e3a0992f
    doc: obey SOURCE_DATE_EPOCH with manpage generation Aleksa Sarai 2018-08-23 21:31:44 +1000
  • 86794c71a6 opinionated documentation about versioning Andrew Hammond 2018-08-22 14:24:13 -0700
  • 6fd8e29b07 Qualify custom bash func name (#730) Paul 2018-08-21 11:12:02 -0500
  • 4a689cddc4 Improve tests for bash completion __custom_func pgwhalen 2018-08-20 21:15:45 -0500
  • ff0d02e855 fix typo in doc/man_docs.go (#732) Pascal Dierich 2018-08-20 19:45:24 +0200
  • 4c65d41679
    fix typo in doc/man_docs.go Pascal Dierich 2018-08-20 18:51:25 +0200
  • dff8b28b10 Qualify custom bash func name pgwhalen 2018-08-19 21:55:45 -0500
  • 3cc50a0861 Add minimal Context support to cobra Jonathan Hall 2018-08-12 16:25:08 +0200
  • 366025099b Update documentation to clearly indicate Persistent*Run order Eric Gravert 2018-07-26 21:04:53 -0500
  • f098247d23 Add tests to verify persistent pre/post hooks run in order Eric Gravert 2018-07-26 20:55:40 -0500
  • 7c4570c3eb #716 - Removed useless libraries in readme (#717) Federico 2018-07-22 22:56:44 +0100
  • 214c736c63 #716 - Removed useless libraries in readme Federico 2018-07-21 11:47:03 +0100
  • 5876e5a9de
    Run Persistent*Run from root to sub Alexander Trost 2018-07-13 23:19:55 +0200
  • 834a53c099 Simplify error return Pierre-Emmanuel Jacquier 2018-07-04 15:22:18 +0200
  • d667ccf480 add ShowRunErrorUsage flag Pierre-Emmanuel Jacquier 2018-07-04 15:12:23 +0200
  • 264fb72ab2 fixup! Don't display usage on a returned error by a RunE function Pierre-Emmanuel Jacquier 2018-07-04 14:45:54 +0200
  • 4864275d4a Don't display usage on a returned error by a RunE function Pierre-Emmanuel Jacquier 2018-07-04 14:23:45 +0200
  • a114f312e0 fix test build breakage with go1.11 (#712) Hyang-Ah Hana Kim 2018-06-29 11:25:35 -0400
  • 9ab64a8e4f fix test build breakage with go1.11 Hana Kim 2018-06-28 13:57:04 -0400
  • 7fc0d096d2
    Merge a66d0ae17a into 1e58aa3361 Brandon Roehl 2018-06-27 17:48:42 +0000
  • a66d0ae17a Conform more to the style Brandon Roehl 2018-06-27 12:46:06 -0500
  • 009ebb14c9 All test passing Brandon Roehl 2018-06-27 11:10:57 -0500
  • f76be5b1f0 Generic and less diff Brandon Roehl 2018-06-27 10:53:11 -0500
  • cbe65494b7 Allow flag completion as well Brandon Roehl 2018-06-27 10:48:09 -0500
  • 14efddf125 Commands but with the short descriptions now in zsh completion Brandon Roehl 2018-06-26 20:28:31 -0500