Commit graph

  • 8cfa4b4acf
    Add documentation for Use (#1188) Michael Muré 2020-08-18 22:14:09 +02:00
  • 4950fa3f47
    Merge remote-tracking branch 'upstream/master' into fix-stderr-redirection Alessio Treglia 2020-08-17 23:47:21 +01:00
  • 750b5745d1 Remove duplicate reference to main.go g1stavo 2020-08-15 12:39:07 -03:00
  • 81e0311edd
    modules: add a secondary go.mod to segregate CLI dependencies (#1139) Michael Muré 2020-08-15 16:44:17 +02:00
  • 817e7410e3
    modules: add a secondary go.mod to segregate CLI dependencies Michael Muré 2020-06-15 15:06:46 +02:00
  • e083c8a3fd
    Add documentation for Use Michael Muré 2020-08-12 18:23:25 +02:00
  • 5cdf8e26ba
    Fix typo (#1187) Michael Samoylov 2020-08-11 15:39:51 +03:00
  • b4166340b6
    Fix typo Michael Samoylov 2020-08-11 15:38:08 +03:00
  • a0b86e58f8
    Correct a typo in doc/util.go (#1184) Felix Yan 2020-08-11 12:17:29 +08:00
  • a738b60e52
    Add CONTRIBUTING.md (#1183) Warren Fernandes 2020-08-10 22:14:21 -06:00
  • aaa22b2552 Add CONTRIBUTING.md Warren Fernandes 2020-08-04 21:15:19 -06:00
  • f71a91c180
    Update README.md infixint943 2020-08-06 13:37:11 +05:30
  • 8ae2abe6b7
    Correct a typo in doc/util.go Felix Yan 2020-08-06 02:53:17 +08:00
  • 96dc55577f
    Update projects_using_cobra.md (#1147) Erdal TAŞKESEN 2020-08-05 18:36:41 +03:00
  • b59ee3b936
    Merge branch 'master' into master Erdal TAŞKESEN 2020-08-05 18:10:26 +03:00
  • 0e27f22f6e
    Add slack badge to point to cobra slack channel (#1181) Warren Fernandes 2020-07-31 09:53:44 -06:00
  • 7a9cf41003 Add slack badge to point to cobra slack channel Warren Fernandes 2020-07-30 22:26:06 -06:00
  • a3adff60ac Complete subcommands when TraverseChildren is true in bash completion Paul Holzinger 2020-07-19 16:08:13 +02:00
  • 7034e0c888 Complete subcommands when TraverseChildren is true in custom completion Paul Holzinger 2020-07-17 23:13:00 +02:00
  • 0df20199ba feature: Allow short and long descriptions for cobra generator for commands Zach Loeber 2020-07-19 17:12:12 -05:00
  • c6fe2d4df8
    Improve zsh completion documentation (#1169) Marc Khouzam 2020-07-19 18:02:46 -04:00
  • abf5715ec9 Improve zsh completion documentation Marc Khouzam 2020-07-16 09:27:34 -04:00
  • 19e41cf081
    Adding werf to projects using cobra (#1163) Dmitry Shurupov 2020-07-18 04:48:45 +07:00
  • 3a09287ba2
    fix: incorrect passing of arguments to setup func Richard Case 2020-07-17 14:39:16 +01:00
  • dd7754f40b
    feat: added additionalsetup hook Richard Case 2020-07-17 14:17:29 +01:00
  • 5fc6b20bad Use FlagErrorFunc for required flag validation error Preetham Narayanareddy 2020-07-15 10:45:26 -07:00
  • b95db644ed
    Add golangci-lint in project using cobra (#1150) Tam Mach 2020-07-15 13:12:39 +10:00
  • 86f532b7ca Handle linebreaks in custom completions. Paul Holzinger 2020-07-12 17:07:15 +02:00
  • 6fd41afb94 Add OnFinalize method Yann Soubeyrand 2020-07-14 19:15:52 +02:00
  • 884edc58ad
    update viper and pflag (#1012) umarcor 2020-07-13 19:55:00 +02:00
  • 09e281d2a4
    Adding werf to projects using cobra Dmitry Shurupov 2020-07-13 15:50:02 +07:00
  • f5ce802946 Modify the logic of Command execute function Dong Gang 2020-07-13 11:34:19 +08:00
  • 67c4e75ccc update viper and pflag umarcor 2019-10-02 14:58:57 +02:00
  • 01ce53c87a fix(args): Correct legacyArgs logical errors Dong Gang 2020-07-11 15:38:54 +08:00
  • 675ae5f5a9
    Fish does not accept - or : in vars (#1122) Marc Khouzam 2020-07-10 16:12:46 -04:00
  • 5d5290759a
    Update README.md (#1154) Diana Flach 2020-07-10 22:06:59 +02:00
  • 4a0b47d039
    Update README.md Diana Flach 2020-07-10 16:47:11 +02:00
  • 207dc47664
    Close #1152 by upgrading yaml.v2 to v2.3.0 (#1153) Sean Prince 2020-07-10 13:32:03 +01:00
  • 353e5053fd Close #1152 by upgrading yaml.v2 to v2.3.0 Sean Prince 2020-07-09 10:47:03 +01:00
  • af185f8307
    Add golangci-lint in project using cobra sayboras 2020-07-01 22:35:21 +10:00
  • 014899635a Further simplify and optimize the hooks logic Bart de Boer 2020-06-30 19:20:26 +02:00
  • 45ac9307d4 Comment updates within the hooks code Bart de Boer 2020-06-30 16:10:22 +02:00
  • ceb71b9980 Cleanup hooks that return void Bart de Boer 2020-06-30 15:56:41 +02:00
  • 7b4490746a
    Update entries to match the style erdaltsksn 2020-06-30 10:10:15 +03:00
  • 5782fedb5f Fish does not accept - or : in vars Marc Khouzam 2020-06-29 16:08:11 -04:00
  • 2c5a0d300f
    Extend Go completions and revamp zsh comp (#1070) (#1070) Marc Khouzam 2020-06-29 15:52:14 -04:00
  • a751e83932 Extend Go completions and revamp zsh comp (#1070) Marc Khouzam 2020-04-23 20:15:20 -04:00
  • 1ea23354f8
    Add 'random' to projects using cobra erdaltsksn 2020-06-29 18:51:34 +03:00
  • 8b45affc01
    Add 'gh-label' to projects using cobra erdaltsksn 2020-06-29 18:50:51 +03:00
  • b024da48aa
    Add 'git bump' to projects using cobra erdaltsksn 2020-06-29 18:49:55 +03:00
  • 2643603c96 clarify comment John Brunton 2020-06-25 14:52:58 +01:00
  • 5fe64e3661 tidy comments John Brunton 2020-06-25 14:51:28 +01:00
  • c4cbf54b03 add section on SetUnknownCommandErrorFunc to readme John Brunton 2020-06-25 14:45:38 +01:00
  • 3293599666 add customizable UnknownCommandErrorFunc John Brunton 2020-06-25 14:33:15 +01:00
  • 410e43b3fe fix default suggestions template for multiple suggestions John Brunton 2020-06-25 13:35:13 +01:00
  • eb5c65715d add suggestions template John Brunton 2020-06-25 12:12:02 +01:00
  • 849c34a6f0 Tidy up the persistent hooks code a bit Bart de Boer 2020-06-23 11:53:14 +02:00
  • 5a812a617c Fix persistent hooks test Bart de Boer 2020-06-23 10:28:48 +02:00
  • 245d68f8ea Extend Persistent*Run behavior to allow multiple hooks throughout the execution chain Bart de Boer 2020-06-22 17:13:49 +02:00
  • 04318720db
    Add completion for help command (#1136) Marc Khouzam 2020-06-16 16:49:26 -04:00
  • ed7b60e298
    YAML documentation contains "Usage" (#1037) Alessandro (Ale) Segala 2020-06-15 15:51:03 -07:00
  • a9dc7d9d35 Provide completion for the help command Marc Khouzam 2020-06-09 15:16:47 -04:00
  • 06d31ff2a0
    Add example for making persistent flags required Adam Demuri 2020-06-11 18:52:02 -06:00
  • d9067293ba YAML documentation contains "Usage" Alessandro (Ale) Segala 2020-06-12 00:43:45 +00:00
  • 9ec99a39e5 Don't exclude 'help' from bash completions Zaven Muradyan 2020-03-22 22:04:38 -07:00
  • 1d3ac910d4
    Update projects_using_cobra.md (#1113) Vaibhav Kaushik 2020-05-29 21:47:41 +05:30
  • 233ff01e4c Include EnablePersistentHookOverride option to control if PersistentPostRun* functions should override their parents Bart de Boer 2020-05-25 17:02:42 +02:00
  • 97c3b1adad
    update pflag vahid-sohrabloo 2020-05-27 14:55:08 +04:30
  • fa4f0b9f39
    Removing initCmd, addCmd from README.md Jessica Schalz 2020-05-25 20:14:52 -05:00
  • d0e2899afb Create TestSetContext() for testing passing context between hooks Unknown 2020-05-19 17:07:26 -03:00
  • a081152dc5 Remove condition for passing ctx to child command Unknown 2020-05-19 17:07:17 -03:00
  • d58c46a0d6 Add SetContext() function to cobra.Command Unknown 2020-05-19 17:07:08 -03:00
  • 25eac1aecc fix name umbynos 2020-05-19 12:41:00 +02:00
  • ddcf2df357 add arduino-cli to projects using cobra umbynos 2020-05-19 12:26:28 +02:00
  • e957bfed6f
    Update projects_using_cobra.md Vaibhav Kaushik 2020-05-12 13:20:33 +05:30
  • 94a87a7b83
    disable periodic labeler (#1112) Joshua Harshman 2020-05-08 09:53:33 -06:00
  • 8d8ff690d2 disable periodic labeler Josh Harshman 2020-05-08 09:44:41 -06:00
  • 5155946348
    Ignore required flags when DisableFlagParsing (#1095) Marc Khouzam 2020-05-07 21:18:16 -04:00
  • aa5badda62
    Metal Stack CLI is using cobra as well (#1094) Stefan Majer 2020-05-08 03:13:20 +02:00
  • a7aaa7cfac
    replace labeler action with periodic-labeler (#1097) John Calabrese 2020-05-07 21:02:17 -04:00
  • f8fdd17383
    Complete command names even if ValidArgs present (#1088) Marc Khouzam 2020-05-07 17:04:14 -04:00
  • cf1771e99e Fix PrintErrln and PrintErrf Ian Howell 2020-05-07 08:58:38 -05:00
  • c254a57593 add comment calling out need to check if we change version xchapter7x 2020-04-30 16:28:13 -04:00
  • e392f3204d
    Man pages won't have auto gen tag when option is disabled (#1104) John McBride 2020-04-29 11:15:55 -06:00
  • ccd0271092 Fix formatting / wording John McBride 2020-04-29 08:55:33 -06:00
  • 29a892d705 Add documentation for doc generation and a changelog John McBride 2020-04-29 08:47:53 -06:00
  • 4979e99599 Merge remote-tracking branch 'upstream/master' into disable-update John McBride 2020-04-28 18:01:29 -06:00
  • 41fd44e1df
    Fix cobra init cmd help documentation (#1108) Warren Fernandes 2020-04-28 16:59:18 -06:00
  • 2fd9a925ea Fix cobra init cmd help documentation Warren Fernandes 2020-04-26 22:27:38 -06:00
  • 44d55fb4d3
    Fix cobra command README (#1106) Warren Fernandes 2020-04-28 11:49:46 -06:00
  • 2af8353c71 Fix cobra command README Warren Fernandes 2020-04-26 21:02:19 -06:00
  • 2c0b6931d0 Man pages wont have auto gen tag when option is disabled John McBride 2020-04-25 14:50:08 -06:00
  • 11ba63fc3b
    Add Helm as project using Cobra (#1103) Marc Khouzam 2020-04-25 11:03:04 -04:00
  • da74f57b2c Add Helm as project using Cobra Marc Khouzam 2020-04-24 16:10:58 -04:00
  • de693f461d package comment should be of the form "Package cmd ...", add a new line avoid this. mrasong 2020-04-22 00:58:38 +08:00
  • 3f58c14b11 replace labeler action with periodic-labeler xchapter7x 2020-04-21 09:21:02 -04:00
  • 536cc5889f Ignore required flags when DisableFlagParsing Marc Khouzam 2020-04-20 15:13:12 -04:00
  • ae7dc75d20 Metal Stack CLI is using cobra as well Stefan Majer 2020-04-20 07:57:38 +02:00
  • 090d94f474
    Move projects using Cobra (#1090) Warren Fernandes 2020-04-16 11:00:24 -06:00
  • b4d33d4a62 Move projects using Cobra Warren Fernandes 2020-04-12 16:34:56 -06:00