Commit graph

  • 1886f6baad minor formatting tweak Jack Wright 2024-12-01 18:27:49 -08:00
  • 2f80e0879f changed from being markdown, as I don't think the docs here are markdown Jack Wright 2024-11-30 15:01:06 -08:00
  • 18d7a29987 more documentation tweaks Jack Wright 2024-11-30 14:58:44 -08:00
  • 59726e2b0f fixed a typo Jack Wright 2024-11-30 14:06:56 -08:00
  • 982ba402cb fix tests Jack Wright 2024-11-30 13:59:41 -08:00
  • 7006719603 fixing formatting Jack Wright 2024-11-30 13:57:31 -08:00
  • 8b4aa590bb Added new directive to the list of directives for posterity. Jack Wright 2024-11-30 13:34:39 -08:00
  • 7eac0e11ae Format with spaces instead of tabs Jack Wright 2024-11-30 13:32:05 -08:00
  • e7abbf39a3 rewriting nushell implementation Jack Wright 2024-11-27 21:05:56 -08:00
  • 29af015b57 "fixed whitespace" Jack Wright 2022-12-27 12:17:42 -08:00
  • f963733c4e "Reverted to old version without formatting changes and readded nushell" Jack Wright 2022-12-23 20:40:17 -08:00
  • 1a69a83abc "Added nushell to list of shell autompletes" Jack Wright 2022-12-23 20:39:54 -08:00
  • 8cb9728476 Update completions.go Jack Wright 2022-12-23 20:31:48 -08:00
  • ead0ff3e53 Update completions.go Jack Wright 2022-12-23 20:31:38 -08:00
  • 3bfdd6421f Update completions.go Jack Wright 2022-12-23 20:31:30 -08:00
  • 4c4bde6586 "removing extra lines/whitespace" Jack Wright 2022-12-23 20:30:18 -08:00
  • 3b016843b9 "fixing completions that contain a /" Jack Wright 2022-12-16 09:50:05 -08:00
  • 247e8e6b55 "ignoring return value when directive is ShellComp#directiveFilterFileExt" Jack Wright 2022-12-16 09:32:22 -08:00
  • d86bac4e34 "fixing oddities with fuzzy searching and bug with active help" Jack Wright 2022-12-15 13:21:37 -08:00
  • fa746d4d5a Incorporating pull request feedback - Fixing completion on full paths - Fixing completion with equals in flags - Fixing fuzzy search - Typos Jack Wright 2022-11-28 13:39:12 -08:00
  • 37ac7454fb Added a whitelist to add cobra apps to to prevent non-cobra apps from being excuted Jack Wright 2022-11-27 15:06:59 -08:00
  • 1324e0c316 Added nushell to the Use: line Jack Wright 2022-11-27 13:55:50 -08:00
  • 2f276e3014 Incorporating pull request feedback. - Renamed completer to be cobra_completer to match docs - Added whitespace after each completion - Implemented ShellCompDirectiveError, ShellCompDirectiveNoSpace, ShellCompDirectiveNoFileComp - Disabled active help as it isn't supported by nushell - Added nushell to the default completion command Jack Wright 2022-11-27 13:46:13 -08:00
  • 594faef23f Changed the nushell completion implementation to be a nushell external completer Jack Wright 2022-11-26 14:39:29 -08:00
  • a1431b2c57 'Completions for nushell' Jack Wright 2022-11-11 18:05:24 -08:00
  • 02326d52c0
    Fix broken links in active_help.md (#2202) Vui Lam 2024-11-05 03:19:24 -08:00
  • 18892444fb Fix broken links in active_help.md Vui Lam 2024-11-04 14:50:34 -08:00
  • 5a138f143f
    Make Powershell completion script work in constrained mode (#2196) Leonhard Stemplinger 2024-11-04 01:45:01 +01:00
  • 9622afc2ac Update to latest go-md2man Mikel Olasagasti Uranga 2024-10-31 22:04:01 +01:00
  • 0d550c15a8 fix linting Andre Mueller 2024-10-25 11:18:59 +02:00
  • 41b8340b2b Backward compatibility Andre Mueller 2024-10-25 11:09:09 +02:00
  • ae6c026135 moved to global EnableErrorOnUnknownSubcommand option Andre Mueller 2024-07-09 07:40:03 +02:00
  • 4281a8d6a3 fix linting issue Andre Mueller 2024-07-08 16:17:02 +02:00
  • 971a0f75db closes #2130 new command flag ErrorOnUnknownSubcommand Andre Mueller 2024-07-06 13:13:47 +02:00
  • 23cadf7ab4
    update test faizan-siddiqui 2024-10-23 17:16:12 +11:00
  • 49443501ed
    added test cases faizan-siddiqui 2024-10-23 17:00:26 +11:00
  • ca3972ed08
    add MarkIfFlagPresentThenOthersRequired faizan-siddiqui 2024-10-23 16:51:02 +11:00
  • 04d768e4fb Make Powershell completion script work in constrained mode Leonhard Stemplinger 2024-10-09 16:58:07 +02:00
  • 8bd96bc3a2
    Custom error handler Chris Suszyński 2024-10-18 15:29:04 +02:00
  • 3a5efaede9
    doc: azion project added to the list of CLIs that use cobra (#2198) Maxwel Mazur 2024-10-16 15:13:47 -03:00
  • 5088526eb8
    Merge pull request #1 from maxwelbm/maxwelbm-azion-to-list Maxwel Mazur 2024-10-15 16:47:22 -03:00
  • b67c29e78b
    doc: azion project added to the list of CLIs that use cobra Maxwel Mazur 2024-10-15 16:46:31 -03:00
  • 5bef9d8d87
    Fix --version help and output for plugins (#2180) Nir Soffer 2024-10-12 19:08:27 +03:00
  • ff7c561cf7
    Improve site formatting (#2183) Nir Soffer 2024-10-12 18:35:01 +03:00
  • e8dfaa897c Fix linter errors Ionut Nicula 2024-10-12 12:23:52 +03:00
  • 11ab62158a
    docs: update README.md (#2197) Ikko Eltociear Ashimine 2024-10-11 19:40:47 +09:00
  • e30c35ec6e
    docs: update README.md Ikko Eltociear Ashimine 2024-10-11 08:16:23 +09:00
  • 81a7781237 Correct check for parent context - Comment states check parent, code checked child instead - No point performing parent check as code above ensures that this is never nil rob.rimmer 2024-10-01 17:21:51 +01:00
  • cc1f750da2 Simplify code Ionut Nicula 2024-09-19 19:51:37 +03:00
  • b07c5cdd6f Fix shorthand combination edge case in c.Traverse() code path Ionut Nicula 2024-09-14 20:31:57 +03:00
  • 8ba575e694 Fix shorthand combination edge case in c.Find() code path Ionut Nicula 2024-09-14 17:08:27 +03:00
  • 78bfc837fe
    Test also with go 1.23 (#2182) Nir Soffer 2024-08-25 02:02:44 +03:00
  • 612f06f846 Use single import line in the trivial examples Nir Soffer 2024-08-24 23:05:11 +03:00
  • 08fa116823 Unify indentation in example project structure Nir Soffer 2024-08-24 23:00:06 +03:00
  • 4220a0b60a Improve site formatting Nir Soffer 2024-08-24 22:47:54 +03:00
  • 555755133d Use display name in version template Nir Soffer 2024-08-24 06:23:29 +03:00
  • 0eb136226a Make command DisplayName() public Nir Soffer 2024-08-24 06:14:14 +03:00
  • 116759b688 Fix --version help with CommandDisplayNameAnnotation Nir Soffer 2024-08-24 06:00:05 +03:00
  • c00cd5ba94 Test also with go 1.23 Nir Soffer 2024-08-24 07:04:13 +03:00
  • 511af59cb3
    Replace deprecated ioutil usage (#2181) Nir Soffer 2024-08-24 14:05:26 +03:00
  • 187900ae5b Replace deprecated ioutil usage Nir Soffer 2024-08-24 06:52:56 +03:00
  • a75c389fec args: add new UnknownCommandError type Michael Vogt 2024-08-16 17:32:54 +02:00
  • 756ba6dad6
    fix(completions): Complete map flags multiple times (#2174) Gabe Cook 2024-07-28 11:18:07 -05:00
  • 411a8aff85
    fix(completions): Complete map flags multiple times Gabe Cook 2024-07-27 02:29:53 -05:00
  • 371ae25d2c
    Fix deprecation comment for Command.SetOutput (#2172) Sebastiaan van Stijn 2024-07-17 01:36:29 +02:00
  • 70ba203b94
    Fix deprecation comment for Command.SetOutput Sebastiaan van Stijn 2024-07-16 17:42:41 +02:00
  • aca5b04dfb
    capitolized letter JungleHornet 2024-07-11 21:17:08 +02:00
  • 5c58f7bf02
    Update command.go Dean Eigenmann 2024-06-20 09:37:19 +02:00
  • 53bc9d3219
    feat: #1140 updating doc gen docs for new method Alexander Miranda 2024-06-19 13:31:07 -05:00
  • c71ca75519
    feat: #1140 added godoc Alexander Miranda 2024-06-19 12:59:33 -05:00
  • b522459430
    feat: #1140 updating test values to match with callback name Alexander Miranda 2024-06-19 12:55:06 -05:00
  • 0856a41798
    feat: #1140 adding GenMarkdownTreeCustomWithFooter method Alexander Miranda 2024-06-19 12:49:21 -05:00
  • 9fbba57c76 Address comments Marc Khouzam 2024-06-11 10:45:02 -04:00
  • 8e517009e7 Pass arguments to the help function Marc Khouzam 2024-06-01 08:53:35 -04:00
  • e94f6d0dd9
    Address golangci-lint deprecation warnings, enable some more linters (#2152) v1.8.1 Ville Skyttä 2024-06-01 13:31:11 +03:00
  • 17d4f8fc5d Enable some more linters, address finding Ville Skyttä 2024-06-01 08:31:29 +03:00
  • 157d0ef977 Address golangci-lint linter deprecation warnings Ville Skyttä 2024-06-01 08:26:44 +03:00
  • e86f3862de Merge branch 'main' into disableMarkPersistentRequiredFlagForHelpAndComp Jun Nishimura 2024-05-25 10:55:05 +09:00
  • 1c353913e1
    build(deps): bump codelytv/pr-size-labeler from 1.8.1 to 1.10.0 dependabot/github_actions/codelytv/pr-size-labeler-1.10.0 dependabot[bot] 2024-05-20 10:43:19 +00:00
  • 8003b74a10
    Remove fully inactivated linters (#2148) Nir Soffer 2024-05-19 05:12:02 +03:00
  • 83d142ca76 Add tests for double line break Dan Ramich 2024-05-18 14:57:18 -06:00
  • f43fbd557a Add stylecheck linter, replacement for golint Nir Soffer 2024-05-18 17:44:56 +03:00
  • 0585a83103 Remove fully inactivated linters Nir Soffer 2024-05-18 17:42:02 +03:00
  • 5c2c1d627d
    Consistent annotation names (#2140) Nir Soffer 2024-05-18 16:41:31 +03:00
  • 72f0e7845e
    build(deps): bump golangci/golangci-lint-action from 4.0.0 to 6.0.1 dependabot/github_actions/golangci/golangci-lint-action-6.0.1 dependabot[bot] 2024-05-13 10:10:26 +00:00
  • 3ec0e45e87
    build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.3.0 dependabot[bot] 2024-05-06 10:59:42 +00:00
  • 333e12bf60 Consistent annotation names Nir Soffer 2024-05-03 20:34:55 +03:00
  • 5855cc83d2
    build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 dependabot[bot] 2024-04-29 10:06:27 +00:00
  • 4e07448e7a fish completions: fix double-evaluation of commandline Johannes Altmanninger 2024-01-06 07:43:23 +01:00
  • 7adb5d6bdd
    build(deps): bump codelytv/pr-size-labeler from 1.8.1 to 1.9.0 dependabot[bot] 2024-04-22 10:10:35 +00:00
  • 7edfda55d3 Add InfluencedByPermissions field to Command struct Xueming Feng 2024-04-17 16:48:53 +08:00
  • 5a1acea321
    build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4 (#2127) dependabot[bot] 2024-04-13 02:21:03 +00:00
  • 0fc86c2ffd
    docs: update user guide (#2128) Xinwei Xiong 2024-04-08 18:47:35 +08:00
  • d64e791529
    docs: update user guide Xinwei Xiong 2024-04-03 14:47:47 +08:00
  • 6b5f577ebc
    More linting (#2099) Ville Skyttä 2024-04-01 12:42:08 +00:00
  • 197626b972
    build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4 dependabot[bot] 2024-03-25 10:52:12 +00:00
  • 21c1eae09e
    Merge cee7f37a01 into bd914e58d6 Unai Martinez-Corral 2024-03-18 12:52:34 +08:00
  • bd914e58d6
    fix: remove deprecated io/ioutils package (#2120) Pedro Mota 2024-03-12 07:42:46 -03:00
  • 1f80fa2e23
    chore: remove repetitive words (#2122) racerole 2024-03-12 18:40:19 +08:00
  • c69ae4c36b
    ci: test golang 1.22 (#2113) damas 2024-03-12 10:40:01 +00:00