1
0
Fork 0
mirror of https://github.com/spf13/cobra synced 2025-04-02 21:09:12 +00:00

Commit graph

  • d86bac4e34 "fixing oddities with fuzzy searching and bug with active help" Jack Wright 2022-12-15 13:21:37 -0800
  • 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 -0800
  • 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 -0800
  • 1324e0c316 Added nushell to the Use: line Jack Wright 2022-11-27 13:55:50 -0800
  • 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 -0800
  • 594faef23f Changed the nushell completion implementation to be a nushell external completer Jack Wright 2022-11-26 14:39:29 -0800
  • a1431b2c57 'Completions for nushell' Jack Wright 2022-11-11 18:05:24 -0800
  • 02326d52c0
    Fix broken links in active_help.md () Vui Lam 2024-11-05 03:19:24 -0800
  • 18892444fb Fix broken links in active_help.md Vui Lam 2024-11-04 14:50:34 -0800
  • 5a138f143f
    Make Powershell completion script work in constrained mode () Leonhard Stemplinger 2024-11-04 01:45:01 +0100
  • 9622afc2ac Update to latest go-md2man Mikel Olasagasti Uranga 2024-10-31 22:04:01 +0100
  • 0d550c15a8 fix linting Andre Mueller 2024-10-25 11:18:59 +0200
  • 41b8340b2b Backward compatibility Andre Mueller 2024-10-25 11:09:09 +0200
  • ae6c026135 moved to global EnableErrorOnUnknownSubcommand option Andre Mueller 2024-07-09 07:40:03 +0200
  • 4281a8d6a3 fix linting issue Andre Mueller 2024-07-08 16:17:02 +0200
  • 971a0f75db closes new command flag ErrorOnUnknownSubcommand Andre Mueller 2024-07-06 13:13:47 +0200
  • 23cadf7ab4
    update test faizan-siddiqui 2024-10-23 17:16:12 +1100
  • 49443501ed
    added test cases faizan-siddiqui 2024-10-23 17:00:26 +1100
  • ca3972ed08
    add MarkIfFlagPresentThenOthersRequired faizan-siddiqui 2024-10-23 16:51:02 +1100
  • 04d768e4fb Make Powershell completion script work in constrained mode Leonhard Stemplinger 2024-10-09 16:58:07 +0200
  • 8bd96bc3a2
    Custom error handler Chris Suszyński 2024-10-18 15:29:04 +0200
  • 3a5efaede9
    doc: azion project added to the list of CLIs that use cobra () Maxwel Mazur 2024-10-16 15:13:47 -0300
  • 5088526eb8
    Merge pull request from maxwelbm/maxwelbm-azion-to-list Maxwel Mazur 2024-10-15 16:47:22 -0300
  • b67c29e78b
    doc: azion project added to the list of CLIs that use cobra Maxwel Mazur 2024-10-15 16:46:31 -0300
  • 5bef9d8d87
    Fix --version help and output for plugins () Nir Soffer 2024-10-12 19:08:27 +0300
  • ff7c561cf7
    Improve site formatting () Nir Soffer 2024-10-12 18:35:01 +0300
  • e8dfaa897c Fix linter errors Ionut Nicula 2024-10-12 12:23:52 +0300
  • 11ab62158a
    docs: update README.md () Ikko Eltociear Ashimine 2024-10-11 19:40:47 +0900
  • e30c35ec6e
    docs: update README.md Ikko Eltociear Ashimine 2024-10-11 08:16:23 +0900
  • 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 +0100
  • cc1f750da2 Simplify code Ionut Nicula 2024-09-19 19:51:37 +0300
  • b07c5cdd6f Fix shorthand combination edge case in c.Traverse() code path Ionut Nicula 2024-09-14 20:31:57 +0300
  • 8ba575e694 Fix shorthand combination edge case in c.Find() code path Ionut Nicula 2024-09-14 17:08:27 +0300
  • 78bfc837fe
    Test also with go 1.23 () Nir Soffer 2024-08-25 02:02:44 +0300
  • 612f06f846 Use single import line in the trivial examples Nir Soffer 2024-08-24 23:05:11 +0300
  • 08fa116823 Unify indentation in example project structure Nir Soffer 2024-08-24 23:00:06 +0300
  • 4220a0b60a Improve site formatting Nir Soffer 2024-08-24 22:47:54 +0300
  • 555755133d Use display name in version template Nir Soffer 2024-08-24 06:23:29 +0300
  • 0eb136226a Make command DisplayName() public Nir Soffer 2024-08-24 06:14:14 +0300
  • 116759b688 Fix --version help with CommandDisplayNameAnnotation Nir Soffer 2024-08-24 06:00:05 +0300
  • c00cd5ba94 Test also with go 1.23 Nir Soffer 2024-08-24 07:04:13 +0300
  • 511af59cb3
    Replace deprecated ioutil usage () Nir Soffer 2024-08-24 14:05:26 +0300
  • 187900ae5b Replace deprecated ioutil usage Nir Soffer 2024-08-24 06:52:56 +0300
  • a75c389fec args: add new UnknownCommandError type Michael Vogt 2024-08-16 17:32:54 +0200
  • 756ba6dad6
    fix(completions): Complete map flags multiple times () Gabe Cook 2024-07-28 11:18:07 -0500
  • 411a8aff85
    fix(completions): Complete map flags multiple times Gabe Cook 2024-07-27 02:29:53 -0500
  • 371ae25d2c
    Fix deprecation comment for Command.SetOutput () Sebastiaan van Stijn 2024-07-17 01:36:29 +0200
  • 70ba203b94
    Fix deprecation comment for Command.SetOutput Sebastiaan van Stijn 2024-07-16 17:42:41 +0200
  • aca5b04dfb
    capitolized letter JungleHornet 2024-07-11 21:17:08 +0200
  • 5c58f7bf02
    Update command.go Dean Eigenmann 2024-06-20 09:37:19 +0200
  • 53bc9d3219
    feat: updating doc gen docs for new method Alexander Miranda 2024-06-19 13:31:07 -0500
  • c71ca75519
    feat: added godoc Alexander Miranda 2024-06-19 12:59:33 -0500
  • b522459430
    feat: updating test values to match with callback name Alexander Miranda 2024-06-19 12:55:06 -0500
  • 0856a41798
    feat: adding GenMarkdownTreeCustomWithFooter method Alexander Miranda 2024-06-19 12:49:21 -0500
  • 9fbba57c76 Address comments Marc Khouzam 2024-06-11 10:45:02 -0400
  • 8e517009e7 Pass arguments to the help function Marc Khouzam 2024-06-01 08:53:35 -0400
  • e94f6d0dd9
    Address golangci-lint deprecation warnings, enable some more linters () v1.8.1 Ville Skyttä 2024-06-01 13:31:11 +0300
  • 17d4f8fc5d Enable some more linters, address finding Ville Skyttä 2024-06-01 08:31:29 +0300
  • 157d0ef977 Address golangci-lint linter deprecation warnings Ville Skyttä 2024-06-01 08:26:44 +0300
  • e86f3862de Merge branch 'main' into disableMarkPersistentRequiredFlagForHelpAndComp Jun Nishimura 2024-05-25 10:55:05 +0900
  • 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 +0000
  • 8003b74a10
    Remove fully inactivated linters () Nir Soffer 2024-05-19 05:12:02 +0300
  • 83d142ca76 Add tests for double line break Dan Ramich 2024-05-18 14:57:18 -0600
  • f43fbd557a Add stylecheck linter, replacement for golint Nir Soffer 2024-05-18 17:44:56 +0300
  • 0585a83103 Remove fully inactivated linters Nir Soffer 2024-05-18 17:42:02 +0300
  • 5c2c1d627d
    Consistent annotation names () Nir Soffer 2024-05-18 16:41:31 +0300
  • 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 +0000
  • 3ec0e45e87
    build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.3.0 dependabot[bot] 2024-05-06 10:59:42 +0000
  • 333e12bf60 Consistent annotation names Nir Soffer 2024-05-03 20:34:55 +0300
  • 5855cc83d2
    build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 dependabot[bot] 2024-04-29 10:06:27 +0000
  • 4e07448e7a fish completions: fix double-evaluation of commandline Johannes Altmanninger 2024-01-06 07:43:23 +0100
  • 7adb5d6bdd
    build(deps): bump codelytv/pr-size-labeler from 1.8.1 to 1.9.0 dependabot[bot] 2024-04-22 10:10:35 +0000
  • 7edfda55d3 Add InfluencedByPermissions field to Command struct Xueming Feng 2024-04-17 16:48:53 +0800
  • 5a1acea321
    build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4 () dependabot[bot] 2024-04-13 02:21:03 +0000
  • 0fc86c2ffd
    docs: update user guide () Xinwei Xiong 2024-04-08 18:47:35 +0800
  • d64e791529
    docs: update user guide Xinwei Xiong 2024-04-03 14:47:47 +0800
  • 6b5f577ebc
    More linting () Ville Skyttä 2024-04-01 12:42:08 +0000
  • 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 +0000
  • 21c1eae09e
    Merge cee7f37a01 into bd914e58d6 Unai Martinez-Corral 2024-03-18 12:52:34 +0800
  • bd914e58d6
    fix: remove deprecated io/ioutils package () Pedro Mota 2024-03-12 07:42:46 -0300
  • 1f80fa2e23
    chore: remove repetitive words () racerole 2024-03-12 18:40:19 +0800
  • c69ae4c36b
    ci: test golang 1.22 () damas 2024-03-12 10:40:01 +0000
  • 493df59e42 chore: remove repetitive words racerole 2024-03-12 16:34:41 +0800
  • a30cee5e5a
    build(deps): bump actions/cache from 3 to 4 () dependabot[bot] 2024-03-11 19:36:37 -0600
  • f34069ccf5
    build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 () dependabot[bot] 2024-03-11 19:35:05 -0600
  • 33ce8a4e78
    Update README.md with proper install command as earlier cmd is deprecated Bhargav 2024-03-09 23:42:29 +0530
  • 2485f00b27 fix: remove deprecated io/ioutils package pedromotita 2024-03-08 11:11:46 -0300
  • bd2655e76c
    Add Incus to the list of projects using Cobra () montag451 2024-03-08 01:36:58 +0100
  • 5dd28285dd
    Add Incus to the list of projects using Cobra montag451 2024-03-07 21:47:46 +0100
  • e9498ae28a feat: add flag help groups pedromotita 2024-03-07 15:21:31 -0300
  • b46708d4d1
    ci: test golang 1.22 damas 2024-02-27 13:25:02 +0000
  • 6390763171 Fixed typo in user guide Sean Pino 2024-02-20 13:05:52 -0500
  • 0967a36905 simplify mark flags Sean Pino 2024-02-20 10:54:19 -0500
  • b19c5d4ab1 Multiple Required Flags Sean Pino 2024-02-20 10:38:54 -0500
  • ff88331e1f
    build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 dependabot[bot] 2024-02-12 10:51:47 +0000
  • 9867fb647f Show the actual available flags in useline Lisa Ugray 2024-02-01 12:08:03 -0500
  • 5a79d44792
    build(deps): bump actions/cache from 3 to 4 dependabot[bot] 2024-01-22 10:34:39 +0000
  • 1bfcd7838d feat: add flag prerequisite check sam80180 2024-01-19 01:13:03 +0800
  • db66481060 Enable gosimple, no new findings to address Ville Skyttä 2024-01-15 23:46:37 +0200
  • d8cfa4eb68 Address gocritic findings, enable it Ville Skyttä 2024-01-15 23:45:42 +0200