Commit graph

  • 0be19cdea6 make 'one two' a constant umarcor 2019-06-07 19:27:42 +0200
  • 826340688f make string ''\)\n' a constant and check error umarcor 2019-06-07 18:52:28 +0200
  • d6568bad2e handle error return values umarcor 2019-06-07 18:38:49 +0200
  • 7b62ee10c2 add helpers: 'er', 'Er' and 'WrStringAndCheck', use 'io.StringWriter' umarcor 2019-06-07 19:17:26 +0200
  • 44c8ae4518 reduce size of struct umarcor 2019-06-07 18:54:40 +0200
  • 84e7706be4 use sort.Strings(...) instead of sort.Sort(sort.StringSlice(...)) umarcor 2019-06-07 18:37:33 +0200
  • 37b6a19612 feat(travis-ci): use golangci-lint umarcor 2019-06-07 18:33:29 +0200
  • 89c7ffb512 Bump year on golden files (#1010) Nickolas Kraus 2020-01-06 12:10:57 -0600
  • ffd392d9c1 Bump year on golden files NickolasHKraus 2020-01-03 06:04:46 -0600
  • bf26895664 Fix regression when calling *_custom_func (#1001) Marc Khouzam 2019-12-26 12:55:42 -0500
  • d234c0b441 doc: add example code of generating Zsh completion autopp 2019-12-24 09:37:17 +0900
  • 447f182a9d
    format tpl/main.go templates (#980) Joshua Harshman 2019-12-23 13:51:40 -0700
  • 0d9d2d46f3 Revert change so help is printed on stdout again (#1004) Marc Khouzam 2019-12-23 13:38:24 -0500
  • e8c1cda21c format tpl/main.go templates jharshman 2019-10-19 16:38:58 -0600
  • aa2cd0c372 Revert change so help is printed on stdout again Marc Khouzam 2019-12-22 12:06:01 -0500
  • f302021988 Fix regression when calling *_custom_func Marc Khouzam 2019-12-11 23:16:21 -0500
  • c23151b7f7
    Fix InOrStdin comment Randy Stauner 2019-12-02 09:14:51 -0700
  • b04b5bfc50 substitute wrong word in md_docs (#998) Stefano Guerrini 2019-12-02 14:04:30 +0100
  • 1dd0ece8ab substitute wrong word in md_docs Stefano Guerrini 2019-12-01 18:45:13 +0100
  • 6d6cf530da
    Add short version flag -v when not otherwise set Dave Henderson 2019-11-25 20:07:34 -0500
  • 9f733e130e
    Update README.md Erik Aaron Hansen 2019-11-13 22:19:59 +0100
  • 49d40cbf0d
    update why-not-lgpl to its canonical link Loo Zheng Yuan 2019-11-12 10:50:41 +0800
  • a1ab9bd29b
    Add gomplate to list of projects using Cobra Dave Henderson 2019-11-10 13:44:47 -0500
  • 9b21ae8ced
    Add Mercure in the list of projects Kévin Dunglas 2019-11-08 01:03:49 +0100
  • ae5480b1f8 Complete hidden commands flags and its subcommands Didier Roche 2019-10-25 17:30:57 +0200
  • 77e4d5aecc Update md2man to v2.0.0 (#977) Peter Fern 2019-10-20 09:17:41 +1100
  • 2a3a935663 Fix PrintErrln and PrintErrf to behave like PrintErr Jungho Ahn 2019-10-18 15:12:46 -0700
  • 2f080248fa Update md2man to v2.0.0 Peter Fern 2019-10-14 14:33:27 +1100
  • 8a4b46fadf update viper to v1.4.0 (#953) umarcor 2019-10-14 05:11:37 +0200
  • c022f6fabd Update README.md (#944) XuZvvHYmZfYdWJNRunkJ 2019-10-07 14:41:51 -0700
  • 48e6ac4718
    update doc w/ newer cmd/root.go example (#973) Joshua Harshman 2019-10-07 15:31:10 -0600
  • 9fc0d920d7
    Check if root cmd is runnable and run if it is h0tw4t3r 2019-10-05 21:44:29 +0200
  • c825536b7c Merge branch 'with_additional_help' of github.com:mescanne/cobra into with_additional_help Mark Scannell 2019-10-05 16:43:11 +0100
  • d703b98665 Added tests for generating additional help topics Mark Scannell 2019-10-05 16:41:14 +0100
  • 8bd8cc5b09 update doc w/ newer cmd/root.go example Josh Harshman 2019-10-04 11:07:05 -0600
  • 3a8f0055e6
    Adjust bash completion instructions for compatibility with bash 3.2 Mislav Marohnić 2019-10-04 14:03:48 +0200
  • 3745fcd262
    add goreportcard to readme (#971) Joshua Harshman 2019-10-03 15:53:10 -0600
  • b6e2e0af0a add goreportcard to readme Josh Harshman 2019-10-03 13:47:18 -0600
  • 8bd5a5381f Add ArgDescriptionForUseLine to add custom suffix to use line Randy Stauner 2019-10-02 19:32:16 -0700
  • ace5fe16e9 Generating additional help topics when generating markdown Mark Scannell 2019-09-28 22:00:54 +0100
  • c5be1eed76 Make OnCommandNotFound independable of SilenceErrors flag Milan Jovanovic 2019-09-22 15:44:44 +0100
  • 90e9437a89 Correct code formatting Milan Jovanovic 2019-09-19 12:55:12 +0100
  • 0c47c471c4 Added ability to do custom stuff when command is not found Milan Jovanovic 2019-09-19 12:48:23 +0100
  • b3a633bf64
    Bump module import from github.com/spf13/pflag@v1.0.3 Conner Fromknecht 2019-09-17 13:49:57 -0700
  • a4bc1a0fef update viper to v1.4.0 umarcor 2019-09-08 15:46:30 +0200
  • 43e9830af3 update go-yaml to v3 umarcor 2019-09-08 15:50:22 +0200
  • 19cf35ea77 fix: ensure that testproject is removed even after a failure (#948) umarcor 2019-09-17 17:02:42 +0200
  • ccf60c76a2 cobra/cmd: add getProject test func umarcor 2019-09-17 14:55:21 +0200
  • c35f8b03e4 style: simply defer os.RemoveAll umarcor 2019-09-08 15:40:54 +0200
  • 7a0cf95b2a fix: defer licenseFile umarcor 2019-09-05 09:42:47 +0200
  • 891d81cc84 fix: ensure that testproject is removed even after a failure umarcor 2019-09-05 09:04:48 +0200
  • 606aa5792c Used goimports to fix import order (#912) Christian Muehlhaeuser 2019-09-17 04:17:19 +0200
  • 4f2877d412 clean(travis): remove shellcheck from before_install (#947) umarcor 2019-09-17 04:08:40 +0200
  • 3eb6fdcbde clean(travis): remove shellcheck from before_install umarcor 2019-09-05 07:25:18 +0200
  • 602fc8927c fix: gitignore should not ignore subdir 'cobra' umarcor 2019-09-05 07:17:05 +0200
  • b1dca3f9a7
    Update README.md XuZvvHYmZfYdWJNRunkJ 2019-09-03 00:11:39 -0700
  • 1605787112 Generate markdown for help topics Mark Scannell 2019-09-02 21:51:00 +0100
  • 595c4b61d2 Update .gitignore to track cobra subdirectory Rodolfo Carvalho 2019-08-23 22:05:18 +0200
  • 0756728547 Fix template format andig 2019-08-23 17:35:47 +0200
  • 0da6ddb27b
    Errors go to stderr as per POSIX Alessio Treglia 2019-06-26 10:08:12 +0100
  • 59bb8be6ad
    Fix stderr printing functions Alessio Treglia 2019-06-24 08:29:37 +0100
  • b97eb31e3d
    Correct documentation for InOrStdin Daniel Esponda 2019-08-07 09:08:06 -0500
  • b80588d523 fix undefined cfgFile in documentation (#924) Gregoire Mahe 2019-08-05 17:56:17 +0200
  • 6e380ca748 Use background context instead of nil Alexandr Burdiyan 2019-07-03 12:19:15 +0200
  • 0c5ef6bdd0 Add support for context.Context Alexandr Burdiyan 2019-06-21 14:16:02 +0200
  • 993cc5372a Adjustments per PR review feedback from @bogem Bruce Downs 2019-08-01 09:47:14 -0700
  • d85196337c Correct all complaints from goimports Bruce Downs 2019-07-30 15:32:58 -0700
  • 51f06c7dd1 Correct all complaints from golint Bruce Downs 2019-07-30 15:26:11 -0700
  • 9334a46bd6 Return an error in the case of unrunnable subcommand Bruce Downs 2019-07-29 23:36:50 -0700
  • 9552679939 Add idiomatic handling of go error in distinct main func Bruce Downs 2019-07-29 23:34:42 -0700
  • af29f95b81 Add ignore of cobra posix binary and all of intellij generated files Bruce Downs 2019-07-29 23:32:32 -0700
  • dfb2abaa2b Adjustments per PR review feedback from @bogem Bruce Downs 2019-08-01 09:47:14 -0700
  • ccc8b0da4e fix undefined cfgFile in documentation Gregoire Mahe 2019-08-01 17:12:32 +0200
  • 22cf1631ac fix comment 63isOK 2019-07-31 08:58:24 +0000
  • 40b62f616f Correct all complaints from goimports Bruce Downs 2019-07-30 15:32:58 -0700
  • 15a2441afc Correct all complaints from golint Bruce Downs 2019-07-30 15:26:11 -0700
  • 8b780f474d Return an error in the case of unrunnable subcommand Bruce Downs 2019-07-29 23:36:50 -0700
  • d0edbca143 Add idiomatic handling of go error in distinct main func Bruce Downs 2019-07-29 23:34:42 -0700
  • 30c25f325f Add ignore of cobra posix binary and all of intellij generated files Bruce Downs 2019-07-29 23:32:32 -0700
  • 1c9c46d5c1
    Update Generator Docs to reflect changes brought in #817 (#904) Joshua Harshman 2019-07-24 10:10:51 -0600
  • 7a37ccbc89
    Fix cobra generator readme file XSB 2019-07-22 12:10:07 +0200
  • b0b1a62e78
    Simplified assignment operation Christian Muehlhaeuser 2019-07-19 06:10:02 +0200
  • 609f2c8632
    Used goimports to fix import order Christian Muehlhaeuser 2019-07-19 06:07:33 +0200
  • 90647c5640
    Update README.md Zane Hitchcox 2019-07-18 13:17:39 -0400
  • 70d6c546ca Update Generator Docs to reflect changes brought in #817 jharshman 2019-07-10 11:10:24 -0600
  • 2d7544ebde fix missing newline in cmd/add (#905) umarcor 2019-07-15 17:44:15 +0200
  • f4c3014e5a Use os.UserHomeDir() in document micnncim 2019-07-14 21:57:22 +0900
  • 92ff7fb526
    fix missing newline in cmd/add umarcor 2019-07-13 22:30:52 +0200
  • 9a31ddff0e Add Linkerd to list of projects using Cobra (#892) Carol A. Scott 2019-07-12 08:55:10 -0700
  • af9d2bfa41 Merge branch 'master' of github.com:bonfy/cobra bonfy 2019-07-12 10:37:26 +0800
  • 70ca0b2f14 add os.PathSeparator to the return value of findCmdDir func bonfy 2018-04-12 16:05:36 +0800
  • bacf94f3d5 fix bonfy 2019-07-12 10:02:57 +0800
  • ccc29509df change findCmdSuffix to findCmdPath bonfy 2019-07-12 09:55:40 +0800
  • 4b2dc6f8e0
    Merge pull request #2 from spf13/master Carol A. Scott 2019-07-11 16:37:39 -0700
  • 64872dd43f
    Add Linkerd to list of projects using Cobra rsteube 2019-07-11 20:18:47 +0200
  • 4d1820be43 go fmt rsteube 2019-06-12 16:34:04 +0200
  • 4c5491dbc9 added custom completions for zsh rsteube 2019-06-12 16:20:33 +0200
  • f153050c5a added '[' ']' to zshCompQuoteFlagDescription rsteube 2018-11-07 14:19:54 +0100
  • 50ef1a2a5a added compdef call to support direct sourcing rsteube 2019-06-12 23:20:23 +0200
  • 21f39ca07e bash: fix shellcheck errors (#889) rsteube 2019-07-11 20:18:47 +0200