Commit graph

  • 44d09daf6a Updates labeler for new labels John McBride 2022-02-24 14:39:48 -0700
  • 29914adefb Add backwards-compatibility tests for legacyArgs() Marc Khouzam 2021-12-01 14:44:45 -0500
  • 755e6f0a04 refactor: move cobra/cmd/* to cobra/ umarcor 2019-03-19 01:32:43 +0100
  • 6d2dc43606
    Add Pixie to projects. (#1581) Hannah Troisi 2022-02-24 11:51:17 -0800
  • f5f60c17fb
    feat: Add how to load completions in your current zsh session Ondrej Sika 2022-02-22 14:25:31 +0100
  • 320d88f8d2 Check if LICENSE exists harjyotbagga 2022-02-19 18:06:46 +0530
  • a599632379
    Fix install command (#1576) Shyim 2022-02-17 18:17:44 +0100
  • 7cabfeb8f8
    Update Go Doc link and badge (#1593) Marian Steinbach 2022-02-16 23:17:17 +0100
  • 609dee8680
    Update Go Doc link and badge Marian Steinbach 2022-02-02 15:33:29 +0100
  • 4064a50755
    Update README.md Seshasaina Reddy 2022-01-27 19:50:04 +0530
  • 131e05a8f2 Fix ambiguous tags: use 'viper' and remove 'useViper' atompi 2022-01-21 12:02:13 +0800
  • 0a2d1f2fbf
    cobra init: Should exit on invalid configuration andreaangiolillo 2022-01-19 22:44:57 +0000
  • e6a97224f3
    Add Pixie to projects. Hannah Troisi 2022-01-18 13:28:17 -0800
  • 9a9a43f065
    Update README.md saltbo 2022-01-12 15:22:36 +0800
  • 4175126c7c
    Merge c969c6c796 into e04ec72550 Sasha Melentyev 2022-01-11 21:55:10 +0300
  • 677ecda93c
    Fix install command Shyim 2022-01-09 16:43:42 +0100
  • e04ec72550
    Bump license year to 2022 in golden files (#1575) J.R. Hill 2022-01-06 12:58:09 -0800
  • feb1dfaad6 Bump license year to 2022 in golden files ♪ hiljusti 🎮 2022-01-04 15:32:05 -0800
  • d9f3010dda Introduce FixedCompletions Simon Ser 2021-12-29 21:14:04 +0100
  • c969c6c796 refactor(cobra): small refactor Sasha Melentyev 2021-12-24 05:21:08 +0300
  • fae8d736c8 fix: replace viper with useViper in cobra/README.md acehinnnqru 2021-12-23 22:33:54 +0800
  • 2b6e651ee4 feat: panic on CheckErr Guilhem Lettron 2021-12-21 15:08:30 +0100
  • cb9d7b1cec
    Bump github.com/spf13/viper from 1.10.0 to 1.10.1 (#1567) dependabot[bot] 2021-12-20 21:00:40 -0700
  • 0f1cf0cbbd Merge tag 'v1.4.0' into develop Ryan Curtin 2021-12-20 14:28:43 -0500
  • 061ea08f4d Merge branch 'release-1.4.0' Ryan Curtin 2021-12-20 14:28:36 -0500
  • 1973e7b35c
    Bump github.com/spf13/viper from 1.10.0 to 1.10.1 dependabot[bot] 2021-12-20 10:23:18 +0000
  • 6163b0af96 Merge tag '0.1.0' into develop Ryan Curtin 2021-12-16 17:14:55 -0500
  • 18ca9a4b0b
    Merge pull request #7 from OneCloudInc/hotfix-0.1.0 Ryan Curtin 2021-12-16 17:14:40 -0500
  • 1f5bfa181b Code review fixes - seeding random number generator and handling error with setting header Ryan Curtin 2021-12-16 17:03:32 -0500
  • 1223d49a62 Fixes issue references Ryan Curtin 2021-12-16 14:39:36 -0500
  • ef632ed1e1 Converting cobra to use OneCloudInc/cobra in all cases Ryan Curtin 2021-12-16 14:27:35 -0500
  • c21dc0fc86 Fixes CircleCI Ryan Curtin 2021-12-16 14:13:53 -0500
  • 2a36c3f409 Explicitly sending JSON request Ryan Curtin 2021-12-16 14:02:52 -0500
  • c921a1f977 bump viper to 1.10.1 umarcor 2021-11-20 06:49:12 +0100
  • b430be08ed Ensures that payload is built correctly Ryan Curtin 2021-12-14 17:03:56 -0500
  • f927bb8b1f Adds test for reaper decryptor Ryan Curtin 2021-12-14 16:58:15 -0500
  • 93ca442bab Adds the ability to decrypt arguments using the reaper service Ryan Curtin 2021-12-14 16:47:22 -0500
  • 178edbb247
    Bump github.com/spf13/viper from 1.9.0 to 1.10.0 (#1561) v1.3.0 dependabot[bot] 2021-12-14 11:22:51 -0700
  • 9054739e08
    Remove __complete cmd for program without subcmds (#1563) Marc Khouzam 2021-12-14 13:22:22 -0500
  • c79b2dd3dc Remove __complete cmd for program without subcmds Marc Khouzam 2021-12-14 07:16:21 -0500
  • 828fed51cc
    Bump github.com/spf13/viper from 1.9.0 to 1.10.0 dependabot[bot] 2021-12-13 10:28:28 +0000
  • e8f7a16e26
    Bump actions/stale from 1 to 4.1.0 dependabot[bot] 2021-12-13 10:18:16 +0000
  • c7cee2aba3 feat(completion): add default completion hidden if there are no subcommands Ville Skyttä 2021-07-10 12:03:08 +0300
  • a27fd0d95b feat(completion): add option to create default command alone Ville Skyttä 2021-05-06 16:49:39 +0300
  • bb5a299a8e
    add version to install command axel simon 2021-12-10 13:43:52 +0000
  • 19c9c74384
    Always include the os package import when generating the root command (#1557) John McBride 2021-12-09 14:47:27 -0700
  • 03c62a4f98 Always include the os package import when generating the root command John McBride 2021-12-09 10:57:13 -0700
  • 9439d8696c Add SetContext tests joshcarp 2021-12-09 06:51:07 +1100
  • b956a889bd ci: add workflow_dispatch (#1387) umarcor 2021-03-12 05:43:10 +0100
  • 7cd01b3643 feat: make InitDefaultCompletionCmd public (#1467) Gustavo Bazan 2021-08-03 12:37:19 +0100
  • 6675f2ae25 args_test: add TestArgs_Nil umarcor 2021-02-01 11:49:41 +0100
  • a2f84c8568 args_test: use sub-tests for grouping based on the validator umarcor 2019-03-21 21:56:13 +0100
  • 0807dcbb57 args_test: style umarcor 2019-03-19 20:30:05 +0100
  • c9b43b7eae add expectError helper function to args_test umarcor 2019-03-19 00:45:32 +0100
  • cea5d74d57 command/ValidateArgs: check ValidArgs regardless of Args being nil umarcor 2021-02-01 11:29:39 +0100
  • cf1c00d205 feat: generalize ValidArgs; use it implicitly with any validator (#841) umarcor 2019-03-18 23:32:12 +0100
  • 01e05b8ea1
    Bump github.com/spf13/viper from 1.8.1 to 1.9.0 (#1554) dependabot[bot] 2021-12-08 11:56:37 -0700
  • 646dbde559
    Bump github.com/spf13/viper from 1.8.1 to 1.9.0 dependabot[bot] 2021-12-08 13:43:55 +0000
  • 219b420599
    Bump actions/stale from 1 to 4 dependabot[bot] 2021-12-08 13:38:04 +0000
  • 36bff0a4d5
    fix root.go.golden (#1552) Unai Martinez-Corral 2021-12-07 23:24:06 +0000
  • 87cc2eb264 fix root.go.golden umarcor 2021-12-08 00:17:42 +0100
  • 1854bb5c96
    Fix some typos (mostly found by codespell) (#1514) Stefan Weil 2021-12-08 00:06:52 +0100
  • ff2c55e323
    chore(ci): use golangci-lint-action (#1477) Matthieu MOREL 2021-12-08 00:06:09 +0100
  • 1beb476da9
    fix: Duplicate error message from cobra init boilerplates (#1463) ANGkeith 2021-12-08 07:03:24 +0800
  • 6f84ef4875
    Provide option to hide default 'completion' cmd (#1541) Marc Khouzam 2021-12-07 18:02:02 -0500
  • ee75a2b1ed
    Remove trailing spaces from bash completion command description (#1520) meyermarcel 2021-12-08 00:01:22 +0100
  • 25bab5a398
    Fix invalid shell completion when used with ~/.cobra.yaml (#1510) darklore 2021-12-08 08:00:50 +0900
  • 3fed3ef5ad
    Support different bash completion options (#1509) Marc Khouzam 2021-12-07 17:59:41 -0500
  • 507caf5ac8
    completions: fix mixed tab/spaces indentation (#1473) Sebastiaan van Stijn 2021-12-07 23:57:57 +0100
  • c7a4421715
    fix: typo in {bash,zsh}_completions.go (#1459) favonia 2021-12-07 16:53:38 -0600
  • c3573e220c
    Completion: Capitalize short desc, and remove extra space from long (#1455) Frank Chiarulli Jr 2021-12-07 17:52:50 -0500
  • dd40ab071f
    feat: improve completions help formatting (#1444) Carlos Alexandro Becker 2021-12-07 19:51:48 -0300
  • d298d79e6a
    Update shell_completions.md to have automatically rootcmd (#1372) Ron Green 2021-12-08 00:46:48 +0200
  • 6f19fa9f61
    fix: unbound variables in bash completion (#1321) Eden Tsai 2021-12-08 06:44:39 +0800
  • d65ba125a3
    github: add dependabot configuration file (#1427) Unai Martinez-Corral 2021-12-07 22:41:10 +0000
  • 45e521ea93
    enable composing PositionalArgs (#896) Nelz 2021-12-07 14:38:00 -0800
  • ce89c5abe8 Placeholder for performing decryption logic; cobra now distributed using go modules Ryan Curtin 2021-12-07 17:11:39 -0500
  • ea4db7eef4 Add Command.SetContext joshcarp 2021-12-06 21:23:45 +1100
  • cb29346a0f Add comments JaySon-Huang 2021-12-03 10:52:17 +0800
  • d364ed0157
    Only delete arg when it is not starts with - JaySon-Huang 2021-12-03 02:53:30 +0800
  • a916286db1
    Fix expected behavior JaySon-Huang 2021-12-03 02:52:49 +0800
  • 7d8e3706d1
    Add test cases JaySon-Huang 2021-12-03 02:08:41 +0800
  • 5e0bbe8bdb remove unneeded error from printOption method Yik San Chan 2021-12-02 10:33:36 +0800
  • 0d68cad780 Provide option to hide default 'completion' cmd Marc Khouzam 2021-11-24 13:49:39 -0500
  • ad11199cda Capitalize first letter of default completion command short description Alexis Horgix Chotard 2021-11-22 16:04:14 +0100
  • 3e1dc00c51
    Merge branch 'master' into parent_called_as Gautam Dey 2021-11-19 09:15:20 -0800
  • 188cf8759b
    Merge b300764031 into 9e1d6f1c2a Adam Johnson 2021-11-18 22:09:34 +0100
  • 41998feb8b
    Merge cb666582e9 into 9e1d6f1c2a Melissa Mahoney 2021-11-18 09:16:13 -0600
  • 1f702282a5 Add WTFPL license from http://www.wtfpl.net/ Jan Hacker 2021-11-18 01:48:57 +0100
  • e4633ccea4 github: add dependabot configuration file umarcor 2021-06-29 05:15:15 +0200
  • 9e1d6f1c2a
    args_test: add helper functions (#1426) Unai Martinez-Corral 2021-11-16 22:20:18 +0000
  • 62a72cdd0f
    fix(diff): use arg '--strip-trailing-cr' (#949) Unai Martinez-Corral 2021-11-16 22:17:12 +0000
  • 1dabb28da3 rename to MatchAll Nelz 2019-07-03 10:15:25 -0700
  • c02fa6c215 tests and docs Nelz 2019-07-02 10:45:39 -0700
  • 08304cc038 ExactValidArgs slated for removal Nelz 2019-07-02 10:45:22 -0700
  • 488a4bc560 enable composing PositionalArgs Nelz 2019-06-28 14:47:35 -0700
  • 4120f6e4dc args_test: add additional helper functions umarcor 2019-03-18 23:45:36 +0100
  • 989590274f args_test: add helper function getCommand umarcor 2019-03-18 23:32:12 +0100
  • 0fd7782b66 args_test: add helper function expectSuccess umarcor 2019-03-18 23:20:48 +0100
  • 58ecd47ee6 fix(diff): use arg '--strip-trailing-cr' umarcor 2019-09-05 12:20:25 +0200