Commit graph

  • 6a464c0f8b Update CircleCI config Harald Nordgren 2018-10-25 20:27:20 +02:00
  • a6c1d946d5 Run fmt diff tool only for Go 1.11.x Harald Nordgren 2018-10-25 00:28:06 +02:00
  • fe5e611709 doc: obey SOURCE_DATE_EPOCH with manpage generation (#735) Aleksa Sarai 2018-10-22 01:11:14 +11:00
  • f619abc1d7 Added ExactValidArgs (#765) bpdunni 2018-10-21 10:01:21 -04:00
  • f28371eea1 Fix fmt failures Harald Nordgren 2018-10-21 15:50:12 +02:00
  • 4dbaa47f9c Quote bash variables in bash_completion.go, fixes #766 Brian Williams 2018-10-20 19:03:44 -05:00
  • 90b8f3acb7 Print errors to stderr in cobra init boilerplate Brian Williams 2018-10-20 18:14:02 -05:00
  • d2d06612ed Bump Travis versions and let patch versions float freely Harald Nordgren 2018-10-19 21:44:36 +02:00
  • 524b748fd2
    Update Example Arief Rahmansyah 2018-10-18 23:31:18 +08:00
  • 40172f1635 Remove unneeded imports from README.md example (#767) Garret Kelly 2018-10-18 10:37:54 -04:00
  • a7319a1a97 Remove unneeded imports from README.md example Garret Kelly 2018-10-17 21:10:33 -04:00
  • 720c3c2ffa Added ExactValidArgs Brian Dunnigan 2018-10-15 21:55:06 -04:00
  • 08b4554a09 Add flag that gives the ability to disable bash default completion Georgios Andrianakis 2018-10-04 17:57:23 +03:00
  • 25f52164ea Changed environ to a fixed version and updated the usage to the rewrite of environ. Raphael Tiersch 2018-09-30 21:51:13 +02:00
  • b027e5076b Merge branch 'master' into pr_environ Raphael Tiersch 2018-09-30 21:20:44 +02:00
  • 8d114be902 README: Remove Unneeded Newline (#746) Alex Mayer 2018-09-15 18:22:04 -04:00
  • 2c03721526 README: Remove Unneeded Newline Alex Mayer 2018-09-15 12:17:28 -04:00
  • 3ee8c68c6b Fixed automated merge - one conflict Raphael Tiersch 2018-09-04 22:34:09 +02:00
  • c9cb21db45 Merge remote-tracking branch 'me/master' into environPR Raphael Tiersch 2018-09-04 21:48:36 +02:00
  • d2509787f7
    Merge 22867c5108 into 99dc123558 Matt Heindl 2018-08-29 21:10:44 +00:00
  • 99dc123558 Replace Giant Swarm 'swarm' with 'gsctl' (#738) Marian Steinbach 2018-08-29 18:07:45 +02:00
  • 175f0ce223
    Replace Giant Swarm 'swarm' with 'gsctl' Marian Steinbach 2018-08-29 17:20:23 +02:00
  • 6671edee26 Adapt to new gofmt formatting Michael Käufl 2018-08-28 22:54:03 +02:00
  • 144d7bc199 Update the Travis and CircleCI Go versions Michael Käufl 2018-08-28 21:53:37 +02:00
  • 22867c5108 style($fmt): Cleans up code with 'go mod tidy', 'go fmt' and 'go vet'. mph 2018-08-28 06:05:51 -05:00
  • 5d83e1d412 fix($mod): Initiates as a module and upgrades go-md2man to repair breaking dependency. mph 2018-08-27 20:58:30 -05:00
  • 29e3a0992f
    doc: obey SOURCE_DATE_EPOCH with manpage generation Aleksa Sarai 2018-08-23 21:31:44 +10:00
  • 86794c71a6 opinionated documentation about versioning Andrew Hammond 2018-08-22 14:24:13 -07:00
  • 6fd8e29b07 Qualify custom bash func name (#730) Paul 2018-08-21 11:12:02 -05:00
  • 4a689cddc4 Improve tests for bash completion __custom_func pgwhalen 2018-08-20 21:15:45 -05:00
  • ff0d02e855 fix typo in doc/man_docs.go (#732) Pascal Dierich 2018-08-20 19:45:24 +02:00
  • 4c65d41679
    fix typo in doc/man_docs.go Pascal Dierich 2018-08-20 18:51:25 +02:00
  • dff8b28b10 Qualify custom bash func name pgwhalen 2018-08-19 21:55:45 -05:00
  • 3cc50a0861 Add minimal Context support to cobra Jonathan Hall 2018-08-12 16:25:08 +02:00
  • 366025099b Update documentation to clearly indicate Persistent*Run order Eric Gravert 2018-07-26 21:04:53 -05:00
  • f098247d23 Add tests to verify persistent pre/post hooks run in order Eric Gravert 2018-07-26 20:55:40 -05:00
  • 7c4570c3eb #716 - Removed useless libraries in readme (#717) Federico 2018-07-22 22:56:44 +01:00
  • 214c736c63 #716 - Removed useless libraries in readme Federico 2018-07-21 11:47:03 +01:00
  • 5876e5a9de
    Run Persistent*Run from root to sub Alexander Trost 2018-07-13 23:19:55 +02:00
  • 834a53c099 Simplify error return Pierre-Emmanuel Jacquier 2018-07-04 15:22:18 +02:00
  • d667ccf480 add ShowRunErrorUsage flag Pierre-Emmanuel Jacquier 2018-07-04 15:12:23 +02:00
  • 264fb72ab2 fixup! Don't display usage on a returned error by a RunE function Pierre-Emmanuel Jacquier 2018-07-04 14:45:54 +02:00
  • 4864275d4a Don't display usage on a returned error by a RunE function Pierre-Emmanuel Jacquier 2018-07-04 14:23:45 +02:00
  • a114f312e0 fix test build breakage with go1.11 (#712) Hyang-Ah Hana Kim 2018-06-29 11:25:35 -04:00
  • 9ab64a8e4f fix test build breakage with go1.11 Hana Kim 2018-06-28 13:57:04 -04:00
  • 7fc0d096d2
    Merge a66d0ae17a into 1e58aa3361 Brandon Roehl 2018-06-27 17:48:42 +00:00
  • a66d0ae17a Conform more to the style Brandon Roehl 2018-06-27 12:46:06 -05:00
  • 009ebb14c9 All test passing Brandon Roehl 2018-06-27 11:10:57 -05:00
  • f76be5b1f0 Generic and less diff Brandon Roehl 2018-06-27 10:53:11 -05:00
  • cbe65494b7 Allow flag completion as well Brandon Roehl 2018-06-27 10:48:09 -05:00
  • 14efddf125 Commands but with the short descriptions now in zsh completion Brandon Roehl 2018-06-26 20:28:31 -05:00
  • be64645f2f
    Add SetErrorTemplate() (#1) Sebastian Müller 2018-06-13 15:13:58 +02:00
  • 1505704e8e #655 Validate Required Flags Before Prerun Amanpreet Singh 2018-06-04 17:52:10 +05:30
  • 61ca3af7ef Started working on Unified API for the various shell completions: Haim Ashkenazi 2018-06-03 22:08:30 +03:00
  • 13b42c0440 Merge remote-tracking branch 'spf13/master' into zsh-completion Haim Ashkenazi 2018-06-02 06:39:42 +03:00
  • a47935bacf
    Merge 8d4f0c6c0f into 1e58aa3361 Amanpreet Singh 2018-06-01 07:10:58 +00:00
  • 8d4f0c6c0f #655 Validate Required Flags Before Prerun Amanpreet Singh 2018-06-01 12:38:27 +05:30
  • 1e58aa3361 Include a basic example #465 (#631) Jason Hendry 2018-06-01 04:03:38 +10:00
  • d6a6294693 Fix typo in README Kenjiro Nakayama 2018-05-31 10:32:40 +09:00
  • 4164386743 Support OnlySubCommands for validation of positional arguments Kenjiro Nakayama 2018-02-17 22:49:17 +09:00
  • ef82de70bb Fixed code sample for bash completion (#687) v0.0.3 Zef Hemel 2018-04-27 15:45:50 +02:00
  • 35c4666302
    Fixed code sample for bash completion Zef Hemel 2018-04-25 16:44:30 +02:00
  • 0ab5b6bcfc doc: hide hidden parent flags (#686) James DeFelice 2018-04-24 12:15:12 -04:00
  • d5db774384 doc: hide hidden parent flags * fixes #685 James DeFelice 2018-04-24 15:42:24 +00:00
  • 7ee208b09f support completions for command aliases (#669) Rajat Jindal 2018-04-23 05:47:20 -07:00
  • a223d1bd4b Merge remote-tracking branch 'spf13/master' into zsh-completion Haim Ashkenazi 2018-04-19 07:42:50 +03:00
  • ce329d1cf5 short -v version flag (issue #654) Andrea Manzini 2018-04-15 17:00:52 +02:00
  • 376840c4f1 initialize aliashash only when BASH_VERSION > 3 Rajat Jindal 2018-04-14 22:54:31 -07:00
  • 2459778a08
    Merge 9191622a46 into 615425954c Sion Williams 2018-04-15 04:07:02 +00:00
  • 43375e6ce4 remove whitespace failing build Steve Buzonas 2018-04-13 11:04:56 -04:00
  • c2916480e2 process license header as template Steve Buzonas 2018-04-13 10:44:23 -04:00
  • c03b5c3e9c add func findCmdSuffix bonfy 2018-04-13 09:45:59 +08:00
  • 615425954c remove dot after the abs path (#672) Rajat Jindal 2018-04-12 05:08:29 -07:00
  • 1f2154738b add os.PathSeparator to the return value of findCmdDir func bonfy 2018-04-12 16:05:36 +08:00
  • 760f889967 remove dot after the abs path Rajat Jindal 2018-04-11 18:30:06 -07:00
  • 9e57a03052
    Add note about hiding a command from completion Eddie Zaneski 2018-04-11 17:36:54 -04:00
  • 401e0bfc31 try newer version of shellcheck Rajat Jindal 2018-04-10 11:18:29 -07:00
  • 947f0efbe0 support completions for command aliases Rajat Jindal 2018-04-10 09:20:55 -07:00
  • cd30c2a7e9 typo: fix incorrect (#668) Allen Sun 2018-04-09 00:17:36 +08:00
  • d82e75c4b7 typo: fix incorrect Allen Sun 2018-04-08 13:42:05 +08:00
  • fb660d6634 Allow to override build date Bernhard M. Wiedemann 2018-04-07 20:49:55 +02:00
  • d8e244d161 Updates NoArgs to also report invalid argument Brian Fitzgerald 2018-04-06 12:44:58 -07:00
  • 9191622a46 Add support for user specified args validation func (#663) Sion Williams 2018-04-05 19:12:12 +01:00
  • 4dab30cb33 Add support for ignoring parse errors (#662) Rajat Jindal 2018-03-31 05:36:20 -07:00
  • 96853a4e2c Add support for ignoring parse errors Rajat Jindal 2018-03-30 12:27:50 -07:00
  • 7e77f9557d
    Merge aebea8a8b3 into a1f051bc3e Nikolas Sepos 2018-03-28 21:19:21 +00:00
  • aebea8a8b3 Fix viper flag Nikolas Sepos 2018-03-28 22:58:52 +02:00
  • 27866a844f Add CancelRun method to Command Kevin C. Wells 2018-03-27 14:20:55 -07:00
  • 702a715c7c
    Merge 3614e10541 into a1f051bc3e Endri Gjiri 2018-03-24 13:33:14 +00:00
  • 3614e10541 Update error output to use Help() instead of UsageString() Endri Gjiri 2018-03-24 09:17:00 -04:00
  • 1fc860f55f typo in zsh-completions.md Haim Ashkenazi 2018-03-23 13:57:53 +03:00
  • 484eff9644 zsh-completions: implemented argument completion. Haim Ashkenazi 2018-03-23 13:09:56 +03:00
  • 4c6a1bc7fc Merge remote-tracking branch 'spf13/master' into zsh-completion Haim Ashkenazi 2018-03-22 20:00:57 +02:00
  • 00618a4f66 zsh-completion: tidy up function and variable names Haim Ashkenazi 2018-03-22 19:58:25 +02:00
  • a1f051bc3e Update the Travis and CircleCI Go versions (#651) v0.0.2 Michael 2018-03-21 14:39:34 +00:00
  • 5ea0a58684 Update the Travis and CircleCI Go versions Michael Käufl 2018-03-21 09:30:28 +01:00
  • c439c4fa09 Terminate the stripping of flags when -- is found (#649) Di Xu 2018-03-19 14:20:04 +08:00
  • 457f655af7 terminates the flags when -- is found in commandline Di Xu 2018-03-19 13:39:11 +08:00
  • d57d0497c3 zsh-completion: added escapinng of single quotes in flag description. Haim Ashkenazi 2018-03-17 20:55:27 +02:00
  • 70fa250801 zsh-completion: test to verify that we're always running on root cmd. Haim Ashkenazi 2018-03-05 01:09:55 +02:00