Commit Graph

  • 8c6fa02d22 Fix InitDefaultHelpCmd when custom help command is set Albert Nigmatzianov 2017-06-29 12:52:34 +0200
  • 4d647c8944 Print err instead of home Johanan Liebermann 2017-06-24 17:55:48 +0300
  • 6471e3de04 Rename main func to initConfig Johanan Liebermann 2017-06-24 17:46:43 +0300
  • f9d34972c1 Fix RootCmd var name Johanan Liebermann 2017-06-24 17:32:18 +0300
  • d638dcb7c7 Improve readability of README Johanan Lieberman 2017-06-23 20:34:30 +0300
  • e458bb7ab8 Reword become unexpected errors to encounter errors Brian Danowski 2017-06-22 19:19:17 -0400
  • 31694f19ad Add missing 'and' in comment Johanan Liebermann 2017-06-21 20:26:46 +0300
  • 99b5d838ca Show messages if deprecated flags are used Albert Nigmatzianov 2017-06-13 10:33:50 +0200
  • b4dbd37a01 cmd: Fix tests Albert Nigmatzianov 2017-06-12 08:36:10 +0200
  • defa97f560 cmd: Fix output root.go of init with --viper=false Albert Nigmatzianov 2017-06-12 08:23:33 +0200
  • d7cfb13474 Update README.md Albert Nigmatzianov 2017-06-09 21:55:21 +0200
  • 99ff9334bd cmd: Add possibility to specify the target package Albert Nigmatzianov 2017-05-28 12:42:06 +0200
  • 84f471618b Make BenchmarkBashCompletion more honest Albert Nigmatzianov 2017-06-05 19:32:33 +0200
  • 66da711334 __ltrim_colon_completions is not always available on macOS (#459) Lucy Davies 2017-06-05 16:18:07 +0100
  • 8d4ce3549a Update README.md Martin Marcher 2017-05-30 21:56:48 +0200
  • e606913c4e Fix typos Albert Nigmatzianov 2017-05-28 12:56:30 +0200
  • 4a1a7b086e cmd: Don't print errors from execute to prevent duplication of errors Albert Nigmatzianov 2017-05-28 12:23:49 +0200
  • c446db21d3 cmd: Delete projectBase flag Albert Nigmatzianov 2017-05-28 12:20:47 +0200
  • 7918bf6886 Add explanation for viper.BindPflag in README.md Albert Nigmatzianov 2017-05-09 18:23:36 +0200
  • ca57f0f5db doc: Ad help flag and cmd when generating docs Albert Nigmatzianov 2017-05-20 19:28:06 +0200
  • 52ae6a1d02 Make initHelpCmd public (#436) Albert Nigmatzianov 2017-05-20 19:23:33 +0200
  • ca5710c94e Fix link to cobra lib in README.md Albert Nigmatzianov 2017-05-19 22:27:40 +0200
  • 4ba54a0f7f Edit installation command in README.md (#451) Robert Anthony Bellamy 2017-05-19 15:09:26 -0400
  • fb1f39915d Add benchmark for GenBashCompletion Albert Nigmatzianov 2017-05-14 14:57:11 +0200
  • de6b168d98 Simplify bash_completions.go Albert Nigmatzianov 2017-05-14 13:20:20 +0200
  • 4cdb38c072 cmd: Use correct HasPrefix function for paths Albert Nigmatzianov 2017-05-15 09:49:18 +0200
  • e9078fccb8 cmd: Make more accurate error when there is no $GOPATH Albert Nigmatzianov 2017-05-15 09:20:36 +0200
  • fa9ac853ce cmd: Make detailed error when project not in $GOPATH Albert Nigmatzianov 2017-05-15 08:37:15 +0200
  • 51b7cf57e1 Fix tests so they give correct args (#445) Albert Nigmatzianov 2017-05-14 14:51:04 +0200
  • b5366273a6 cmd: Fix some gometalinter complaints Albert Nigmatzianov 2017-05-14 12:27:15 +0200
  • d9414968f8 cmd: Fix error message from go-homedir Albert Nigmatzianov 2017-05-14 12:03:16 +0200
  • a28055bed2 cmd: Fix minor bugs in init command (#446) Behrang Noruzi Niya 2017-05-14 14:30:53 +0430
  • 90687e7bfc Update pflag link in README (#444) Don Petersen 2017-05-12 11:40:24 -0700
  • 7d22e77cce Fix incorrect merge of pflag.CommandLine to cmd.Flags() Albert Nigmatzianov 2017-05-12 20:22:26 +0200
  • 3454e0e28e cmd: Fix package name when adding command Albert Nigmatzianov 2017-05-12 12:10:33 +0200
  • 4673102358 Updating bash_completions to clarify markdown (#442) G. Hussain Chinoy 2017-05-11 09:04:35 -0600
  • 1362f95a8d Clean README.md (#441) Albert Nigmatzianov 2017-05-09 22:18:58 +0200
  • 347767f8bd Partial revert of 4d2c4af 'Improve template mechanism' (#439) Eric Paris 2017-05-09 15:07:05 -0400
  • eceb483eb5 Divide fields of Command for readability Albert Nigmatzianov 2017-05-09 11:33:56 +0200
  • 90d2fd84ad Group fields of Command Albert Nigmatzianov 2017-05-09 11:25:41 +0200
  • 1251aefb74 Rename Docker to Moby in README.md Albert Nigmatzianov 2017-05-09 11:19:15 +0200
  • e97db2b866 cmd: Fix tests Albert Nigmatzianov 2017-05-09 11:15:48 +0200
  • 4db577d34d Fix docs for Command Albert Nigmatzianov 2017-05-09 11:15:05 +0200
  • 6bfe2ba1a2 doc: Add docs Albert Nigmatzianov 2017-05-09 11:14:48 +0200
  • 3dc7f13b65 cmd: Fix docs Albert Nigmatzianov 2017-05-09 11:14:33 +0200
  • d236d29810 cmd: Make tmpl local variable Albert Nigmatzianov 2017-05-08 23:00:14 +0200
  • c0bd07d7ba Use cobra create instead of cobra init in README.md (#396) Adrián López 2017-05-08 14:23:08 +0200
  • 4d2c4afa04 Improve template mechanisms Albert Nigmatzianov 2017-04-23 14:55:23 +0200
  • d83a1d7ccd Add comment for InitDefaultHelpFlag Albert Nigmatzianov 2017-05-07 10:52:40 +0200
  • fe69f2e3a3 Make initHelpFlag public Albert Nigmatzianov 2017-04-27 10:55:15 +0200
  • db6b9a8b3f cmd: Fix incorrect initialzation by cobra init . Albert Nigmatzianov 2017-05-05 10:51:57 +0200
  • 7bd35d3b95 cmd: Fix incorrect cmd dir Albert Nigmatzianov 2017-05-05 10:31:07 +0200
  • 7bb5276f5f cmd: Fix panic if cmd ends on dash or underscore Albert Nigmatzianov 2017-05-05 10:30:41 +0200
  • efbe9b05d8 cmd: Use Fatalf instead of Fatal Albert Nigmatzianov 2017-05-05 10:09:59 +0200
  • 76a9a66775 cmd: Add tests Albert Nigmatzianov 2017-05-05 10:06:27 +0200
  • d20925b932 cmd: Small correctives Albert Nigmatzianov 2017-05-05 10:06:10 +0200
  • 84cba621a0 cmd: Make detection of $HOME work on all systems Albert Nigmatzianov 2017-05-04 22:28:09 +0200
  • 6bcf163261 cmd: Validate cmd names Albert Nigmatzianov 2017-05-01 22:52:58 +0200
  • 903e5b7073 cmd: Fix trimSrcPath doc Albert Nigmatzianov 2017-04-29 22:50:31 +0200
  • 66cfd1f132 cmd: Reuse template in helpers Albert Nigmatzianov 2017-04-29 15:54:32 +0200
  • 0dd1c429a3 cmd: Add more docs Albert Nigmatzianov 2017-04-29 14:53:52 +0200
  • 32756eb440 cmd: Rewrite Albert Nigmatzianov 2017-04-29 12:02:02 +0200
  • 4061f41c9a Use pflag.ShorthandLookup Albert Nigmatzianov 2017-05-05 08:08:38 +0200
  • 8f0203be89 Update README.md Albert Nigmatzianov 2017-05-02 08:49:35 +0200
  • 69f86e6d5d Update README.md Albert Nigmatzianov 2017-05-01 23:08:34 +0200
  • 6f647b1711 Update .travis.yml Albert Nigmatzianov 2017-05-01 22:55:20 +0200
  • bc8a58ff4d docs: Update README.md Angel Beltran 2017-05-01 08:51:43 -0600
  • 7b1b6e8dc0 cmd: Edit license texts Albert Nigmatzianov 2017-04-27 18:54:08 +0200
  • e2f2121008 cmd: Use 'this program' instead of appName in licenses Albert Nigmatzianov 2017-04-27 18:53:43 +0200
  • 3d7bff8a32 Revert "Get rid of flagErrorBuf (#417)" Albert Nigmatzianov 2017-04-27 14:55:09 +0200
  • 6dd90846ba doc: Use w.Write instead of fmt in yaml_docs Albert Nigmatzianov 2017-04-24 20:44:32 +0200
  • 97af803f3b doc: Cleanup md_docs Albert Nigmatzianov 2017-04-24 20:42:49 +0200
  • de484eefb4 doc: Refactor man docs Albert Nigmatzianov 2017-04-24 20:40:15 +0200
  • ea3c5beeff Add TestHelpFlagInHelp Albert Nigmatzianov 2017-04-23 09:50:55 +0200
  • 867d414548 Initialize help flag in initHelpCmd Albert Nigmatzianov 2017-04-20 22:16:25 +0200
  • 6ed17b5128 cmd: Add more possible matches for bsd licenses Albert Nigmatzianov 2017-04-25 18:44:33 +0200
  • c68a90d2e8 Add built-in licenses info to README Albert Nigmatzianov 2017-04-20 21:07:48 +0200
  • 164be37318 cmd: Add AGPL license Albert Nigmatzianov 2017-04-20 20:48:21 +0200
  • 1efd89226b cmd: Add LGPL license Albert Nigmatzianov 2017-04-20 20:46:09 +0200
  • 6d4267ffb7 cmd: Delete redundant symbols from helpers_test.go and licenses.go Albert Nigmatzianov 2017-04-20 20:31:11 +0200
  • 78a8032244 cmd: Move some license functions from helpers.go to licenses.go Albert Nigmatzianov 2017-04-20 20:28:16 +0200
  • 28fe9aaa16 cmd: Fix GPL 3 License header Albert Nigmatzianov 2017-04-20 17:49:56 +0200
  • 47029cc60a cmd: Delete extra whitespace from GPL 3 License header Albert Nigmatzianov 2017-04-20 17:44:01 +0200
  • f4f10f6873 Simplify stripFlags Albert Nigmatzianov 2017-04-24 15:20:01 +0200
  • 63121c8814 Delete Parse from Go projects that uses cobra Albert Nigmatzianov 2017-04-23 22:39:00 +0200
  • 9890b7b2e9 Simplify stripFlags function Albert Nigmatzianov 2017-04-23 22:38:30 +0200
  • aea94819d2 Fix typo at docstring for HasHelpSubCommands (#309) Andrey Kurilin 2017-04-23 23:29:41 +0300
  • a4f017e545 Add rclone to list of users (#334) Nick Craig-Wood 2017-04-23 21:25:25 +0100
  • c4f4d75ecc Use go get so missing dependencies are fetched (#406) Francesc Campoy 2017-04-23 09:27:01 -0700
  • 681a777b18 Delete checkHelpFunc Albert Nigmatzianov 2017-04-23 09:17:44 +0200
  • 10f6b9d7e1 Make go path bin clearer in README Albert Nigmatzianov 2017-04-20 21:54:12 +0200
  • 0a4540b161 Refactor licenses to many files (#323) Mark D. Blackwell 2017-04-20 11:34:10 -0400
  • f58a8d6bd3 Add TestSortedFlags Albert Nigmatzianov 2017-04-19 13:59:20 +0200
  • e135867f96 Make parentsPflags more flexible Albert Nigmatzianov 2017-04-19 11:17:48 +0200
  • 3e61377cd5 Use AddFlagSet instead of self-written function Albert Nigmatzianov 2017-04-19 10:50:00 +0200
  • 458d79748e Add merging of CommandLine flags to Root command Albert Nigmatzianov 2017-04-19 10:49:22 +0200
  • 37a4355faa Fix tests Albert Nigmatzianov 2017-04-19 10:48:35 +0200
  • 3d89ed4908 Add only missing persistent flags of parents in mergePersistentFlags Albert Nigmatzianov 2017-04-06 15:28:17 +0200
  • 6202b5942b Refactor flags mechanisms Albert Nigmatzianov 2017-04-05 18:44:50 +0200
  • a3cd8ab85a Use os.Getenv("HOME") instead of "$HOME" for windows compatibility (#337) Elliot Morrison-Reed 2017-04-20 15:35:06 +0200