Commit graph

  • ba7a6b08b5 cmd: Small fixes Albert Nigmatzianov 2017-07-30 17:14:01 +02:00
  • d7ba19510d Add basic zsh completion (command hierarchy only) bpicode 2017-07-30 10:42:35 +02:00
  • 9e024b655b cmd: Refine formatting of included licenses Anthony Fok 2017-07-30 02:35:06 -06:00
  • a1b7d3cc4d cmd: Add a blank line between copyright and license Anthony Fok 2017-07-30 02:15:55 -06:00
  • 75c6acfc8f cmd: Add "-u" to output unified diff in golden tests Anthony Fok 2017-07-30 02:11:56 -06:00
  • cb9cf94690 Restore the use of cobra.OnInitialize in cobra executable Anthony Fok 2017-07-30 01:19:17 -06:00
  • d4c40bbacf travis: Update Go versions Anthony Fok 2017-07-30 00:20:54 -06:00
  • 750ba8ac93 Fix reproducibility in TestGolden{Add,Init}Cmd Anthony Fok 2017-07-30 00:05:07 -06:00
  • 8b4cd63b0e Fix reproducibility in TestGolden{Add,Init}Cmd Anthony Fok 2017-07-30 00:05:07 -06:00
  • 161584fc2e Fix minor typos: "Know" → "Known" Anthony Fok 2017-07-29 22:49:33 -06:00
  • 829386b65f Fix MinimumArgs Albert Nigmatzianov 2017-07-28 08:04:09 +02:00
  • 88c6dddeb1 Retab README.md Albert Nigmatzianov 2017-07-26 14:55:05 +02:00
  • 5b4a300351 Update documentation Albert Nigmatzianov 2017-07-26 14:51:25 +02:00
  • 0a39957081 Add more examples of Args field Albert Nigmatzianov 2017-07-26 14:51:02 +02:00
  • dcf38a7f94
    Issue #107: use fmt.Fprintf instead of wrapping the writer bpicode 2017-07-26 20:13:22 +02:00
  • 34594c771f Fix TestGlobalNormFuncPropagation() on gccgo Anthony Fok 2017-07-24 13:36:59 -06:00
  • 52d469c091
    Issue #107: fix import order bpicode 2017-07-25 00:25:38 +02:00
  • 0adfa2d8ca
    Issue #107: add basic zsh completion (command hierarchy only) bpicode 2017-07-25 00:16:52 +02:00
  • 11865d2ffe Fix TestGlobalNormFuncPropagation() on gccgo Anthony Fok 2017-07-24 13:36:59 -06:00
  • 90fc11bbc0 Update README.md Albert Nigmatzianov 2017-07-24 09:18:37 +02:00
  • f20b4e9c32 Refactor TakesArgs to use an interface for arg validation. Daniel Nephin 2016-05-07 13:24:05 -04:00
  • d89c499964 Allow commands to explicitly state if they do, or do not take arbitrary arguments Eric Paris 2015-06-09 14:17:58 -04:00
  • 7c5ab73b5e Merge c8479e5b33 into 715f41bd7a Wei Fu 2017-07-20 12:04:40 +00:00
  • c8479e5b33 Add ability to get available sub commands Wei Fu 2017-07-20 19:56:41 +08:00
  • 715f41bd7a cmd: Ignore hidden files in isEmpty Albert Nigmatzianov 2017-07-18 18:22:37 +02:00
  • d994347eda Delete tab in the long description of help Albert Nigmatzianov 2017-07-16 12:47:41 +02:00
  • c46add8a65 Add ability to disable mousetrap Albert Nigmatzianov 2017-07-10 21:27:14 +02:00
  • df693d1470 Add ability to disable mousetrap Albert Nigmatzianov 2017-07-10 21:27:14 +02:00
  • 4e773f9787 Changed the default config location from to the system-directory for config Raphael Tiersch 2017-07-07 22:22:22 +02:00
  • 847cf63062 Merge 17f55c3af6 into 8c6fa02d22 aimof 2017-07-02 17:52:59 +00:00
  • 17f55c3af6 Issue #412: When AddComment, update childs' parentsPflags aimof 2017-07-03 02:42:52 +09:00
  • 73d0d99ba7 Merge a25becd535 into 8c6fa02d22 Jose Luis Ledesma 2017-06-29 12:48:13 +00:00
  • 8c6fa02d22 Fix InitDefaultHelpCmd when custom help command is set Albert Nigmatzianov 2017-06-29 12:52:34 +02:00
  • 4d647c8944 Print err instead of home Johanan Liebermann 2017-06-24 17:55:48 +03:00
  • 6471e3de04 Rename main func to initConfig Johanan Liebermann 2017-06-24 17:46:43 +03:00
  • f9d34972c1 Fix RootCmd var name Johanan Liebermann 2017-06-24 17:32:18 +03:00
  • 1f8ddda212 Print err instead of home Johanan Liebermann 2017-06-24 17:55:48 +03:00
  • 6e4fbe0847 Rename main func to initConfig Johanan Liebermann 2017-06-24 17:46:43 +03:00
  • b9b6b50d8c Fix RootCmd var name Johanan Liebermann 2017-06-24 17:32:18 +03:00
  • d638dcb7c7 Improve readability of README Johanan Lieberman 2017-06-23 20:34:30 +03:00
  • c4d86d72d8 Improve readability of README Johanan Lieberman 2017-06-23 20:34:30 +03:00
  • cc2a5f9529 Merge e7a3a869af into e458bb7ab8 Johanan Liebermann 2017-06-23 17:39:35 +00:00
  • e7a3a869af Improve readability of README Johanan Liebermann 2017-06-23 20:34:30 +03:00
  • e458bb7ab8 Reword become unexpected errors to encounter errors Brian Danowski 2017-06-22 19:19:17 -04:00
  • 7947136633 Reword become unexpected errors to encounter errors Brian Danowski 2017-06-22 19:19:17 -04:00
  • 31694f19ad Add missing 'and' in comment Johanan Liebermann 2017-06-21 20:26:46 +03:00
  • 48f31ecb8d Add missing 'and' in comment Johanan Liebermann 2017-06-21 20:26:46 +03:00
  • 99b5d838ca Show messages if deprecated flags are used Albert Nigmatzianov 2017-06-13 10:33:50 +02:00
  • 811ea2fff3 Show messages if deprecated flags are used Albert Nigmatzianov 2017-06-13 10:33:50 +02:00
  • b4dbd37a01 cmd: Fix tests Albert Nigmatzianov 2017-06-12 08:36:10 +02:00
  • defa97f560 cmd: Fix output root.go of init with --viper=false Albert Nigmatzianov 2017-06-12 08:23:33 +02:00
  • d7cfb13474 Update README.md Albert Nigmatzianov 2017-06-09 21:55:21 +02:00
  • fe53af7f71 Merge c69668f9ae into 99ff9334bd Bayberry Z 2017-06-08 02:29:42 +00:00
  • c69668f9ae README.md #### Manually create rootCmd demo error Bayberry Z 2017-06-08 10:01:31 +08:00
  • 98c0e33075 Merge 5513220bc3 into 99ff9334bd Viktor Benei 2017-06-07 19:43:37 +00:00
  • 99ff9334bd cmd: Add possibility to specify the target package Albert Nigmatzianov 2017-05-28 12:42:06 +02:00
  • 7987bcca8a Refactor TakesArgs to use an interface for arg validation. Daniel Nephin 2016-05-07 13:24:05 -04:00
  • 0a19163eb2 Allow commands to explicitly state if they do, or do not take arbitrary arguments Eric Paris 2015-06-09 14:17:58 -04:00
  • 84f471618b Make BenchmarkBashCompletion more honest Albert Nigmatzianov 2017-06-05 19:32:33 +02:00
  • 66da711334 __ltrim_colon_completions is not always available on macOS (#459) Lucy Davies 2017-06-05 16:18:07 +01:00
  • 5ae6d143e3 Use declare -F to determine if __ltrim_colon_completions exists Lucy Davies 2017-06-05 15:02:01 +01:00
  • f34239004d __ltrim_colon_completions is not always available on macOS, so bash-completion should check first Lucy Davies 2017-06-05 11:11:01 +01:00
  • 4e0949d3c3 Merge 658b0c71fb into 8d4ce3549a David Eads 2017-06-01 21:33:09 +00:00
  • 8d4ce3549a Update README.md Martin Marcher 2017-05-30 21:56:48 +02:00
  • 63be9b5b69 Update README.md Martin Marcher 2017-05-30 21:56:48 +02:00
  • e606913c4e Fix typos Albert Nigmatzianov 2017-05-28 12:56:30 +02:00
  • 54eaa9ec9b cmd: Add possibility to specify the target package Albert Nigmatzianov 2017-05-28 12:42:06 +02:00
  • 4a1a7b086e cmd: Don't print errors from execute to prevent duplication of errors Albert Nigmatzianov 2017-05-28 12:23:49 +02:00
  • c446db21d3 cmd: Delete projectBase flag Albert Nigmatzianov 2017-05-28 12:20:47 +02:00
  • 7918bf6886 Add explanation for viper.BindPflag in README.md Albert Nigmatzianov 2017-05-09 18:23:36 +02:00
  • a9ece69701 Merge f6251f5f3d into ca57f0f5db aperum 2017-05-22 16:26:29 +00:00
  • e0348ba539 Merge be83716983 into ca57f0f5db Jonathan Reyna 2017-05-22 16:26:29 +00:00
  • cf5f32baf0 Merge 8cf4370ccb into ca57f0f5db Jeff Willette 2017-05-20 17:42:18 +00:00
  • ca57f0f5db doc: Ad help flag and cmd when generating docs Albert Nigmatzianov 2017-05-20 19:28:06 +02:00
  • 52ae6a1d02 Make initHelpCmd public (#436) Albert Nigmatzianov 2017-05-20 19:23:33 +02:00
  • ca5710c94e Fix link to cobra lib in README.md Albert Nigmatzianov 2017-05-19 22:27:40 +02:00
  • 4ba54a0f7f Edit installation command in README.md (#451) Robert Anthony Bellamy 2017-05-19 15:09:26 -04:00
  • 7fa8ec5f3f edits installation command Robert Anthony Bellamy 2017-05-19 14:58:31 -04:00
  • fb1f39915d Add benchmark for GenBashCompletion Albert Nigmatzianov 2017-05-14 14:57:11 +02:00
  • de6b168d98 Simplify bash_completions.go Albert Nigmatzianov 2017-05-14 13:20:20 +02:00
  • 4cdb38c072 cmd: Use correct HasPrefix function for paths Albert Nigmatzianov 2017-05-15 09:49:18 +02:00
  • e9078fccb8 cmd: Make more accurate error when there is no $GOPATH Albert Nigmatzianov 2017-05-15 09:20:36 +02:00
  • fa9ac853ce cmd: Make detailed error when project not in $GOPATH Albert Nigmatzianov 2017-05-15 08:37:15 +02:00
  • b4a5937148 Add benchmark for GenBashCompletion Albert Nigmatzianov 2017-05-14 14:57:11 +02:00
  • 51b7cf57e1 Fix tests so they give correct args (#445) Albert Nigmatzianov 2017-05-14 14:51:04 +02:00
  • f33338fb59 Simplify bash_completions.go Albert Nigmatzianov 2017-05-14 13:20:20 +02:00
  • 137acd6f5c Merge b65aa6f9b3 into b5366273a6 improbablejan 2017-05-14 10:31:04 +00:00
  • b5366273a6 cmd: Fix some gometalinter complaints Albert Nigmatzianov 2017-05-14 12:27:15 +02:00
  • e7b08ab3d0 Fix 'unused' and 'gosimple' complaints Albert Nigmatzianov 2017-05-14 12:25:28 +02:00
  • d9414968f8 cmd: Fix error message from go-homedir Albert Nigmatzianov 2017-05-14 12:03:16 +02:00
  • a28055bed2 cmd: Fix minor bugs in init command (#446) Behrang Noruzi Niya 2017-05-14 14:30:53 +04:30
  • c20ba6375d Fix minor bugs in init command Behrang Noruzi Niya 2017-05-14 12:52:17 +04:30
  • 04373829fc Simplify stripFlags Albert Nigmatzianov 2017-05-13 20:30:58 +02:00
  • aac12021de Fix tests so they give correct args Albert Nigmatzianov 2017-05-13 20:28:58 +02:00
  • 90687e7bfc Update pflag link in README (#444) Don Petersen 2017-05-12 11:40:24 -07:00
  • f5a7ad2f0c Update pflag link in README. Don Petersen 2017-05-12 11:32:33 -07:00
  • 7d22e77cce Fix incorrect merge of pflag.CommandLine to cmd.Flags() Albert Nigmatzianov 2017-05-12 20:22:26 +02:00
  • 3454e0e28e cmd: Fix package name when adding command Albert Nigmatzianov 2017-05-12 12:10:33 +02:00
  • 4673102358 Updating bash_completions to clarify markdown (#442) G. Hussain Chinoy 2017-05-11 09:04:35 -06:00
  • 6baaf25712 Add explanation for viper.BindPflag in README.md Albert Nigmatzianov 2017-05-09 18:23:36 +02:00