Commit graph

  • bcfcff729e
    Add Taikun CloudWorks to list of projects (#2098) Radek Smid 2024-01-15 14:38:50 +0100
  • 698a219cc1
    Add Taikun CloudWorks to list of projects Radek Smid 2024-01-15 08:16:32 +0100
  • 399779240e doc: Improve the WithUsage example. Florian Forster 2024-01-12 09:13:41 +0100
  • 4cba342aae feat: Add the WithUsage function. Florian Forster 2024-01-12 08:49:07 +0100
  • d362950435 feat(i18n): test the locales using the appropriate build flag Goutte 2024-01-10 16:44:52 +0100
  • f7f98c4373 chore(i18n): lint Goutte 2024-01-10 16:37:15 +0100
  • 20e0d82e97 feat(i18n): add a Makefile recipe to install i18n extraction dependencies Goutte 2024-01-10 16:13:34 +0100
  • c922911024 feat(i18n): only embed locale files when using the build tag 'locales' Goutte 2024-01-10 16:07:48 +0100
  • 4fb0a66a34
    flags: clarify documentation that LocalFlags related function do not modify the state (#2064) Dmytro Milinevskyi 2024-01-06 22:49:13 +0100
  • d35fd5fad3
    Merge branch 'spf13:main' into dm/local-flags-doc Dmytro Milinevskyi 2024-01-06 18:14:14 +0100
  • 51056406ff
    flags: clarify documentation that LocalFlags related function do not modify the state Dmytro Milinevskyi 2024-01-06 18:09:15 +0100
  • 637ba7bbc1
    Revert "flags: clarify documentation that LocalFlags related function do not modify the state" Dmytro Milinevskyi 2024-01-06 18:06:53 +0100
  • 0dec88e793
    Add tests for funcs in cobra.go (#2094) Denis 2023-12-30 16:40:15 +0300
  • 8623dcfff8 changed the TestStringInSlice Denis Korovin 2023-12-30 16:11:48 +0300
  • eb22f6c157 changed the tests Denis Korovin 2023-12-30 11:54:09 +0300
  • 7fdb732a47 Add test for func in cobra.go Denis Korovin 2023-12-28 15:50:00 +0300
  • cbcf75eab9
    [chore]: update projects using cobra (#2093) Case Wylie 2023-12-27 21:16:29 -0500
  • 1dace9a013
    [chore]: update projects using cobra Case Wylie 2023-12-27 13:46:07 -0500
  • 199b7abe12
    build(deps): bump actions/labeler from 4 to 5 (#2086) dependabot[bot] 2023-12-23 14:52:45 -0500
  • 49061ee7a3 Revert "switch trigger event to test" Marc Khouzam 2023-12-23 14:47:26 -0500
  • 70348785f7 Update labeler configuration for v5 Marc Khouzam 2023-12-23 14:44:40 -0500
  • 1246b457b9 switch trigger event to test Marc Khouzam 2023-12-23 14:13:34 -0500
  • c5775311c0 build(deps): bump actions/labeler from 4 to 5 dependabot[bot] 2023-12-11 10:06:31 +0000
  • 531ce793e3 Remove extra actions/checkout Marc Khouzam 2023-12-23 10:11:53 -0500
  • c054701f6a build(deps): bump actions/setup-go from 4 to 5 dependabot[bot] 2023-12-11 10:06:36 +0000
  • 956fb277c3 Remove extra actions/checkout Marc Khouzam 2023-12-23 10:11:53 -0500
  • 50291d14ea make ci lint happy levisyin 2023-12-18 16:21:51 +0800
  • 41227856cd Document how to create a plugin Nir Soffer 2023-11-12 15:55:40 +0200
  • a73b9c391a Fix help text for runnable plugin command Nir Soffer 2023-11-12 20:07:59 +0200
  • df547f5fc6 Fix help text for plugins Nir Soffer 2023-11-12 17:20:47 +0200
  • c985dc89fb
    Merge ab14efa558 into e63925d321 Antoine Goutenoir 2023-12-18 04:44:57 +0800
  • e63925d321
    Add env variable to suppress completion descriptions on create (#1938) Ville Skyttä 2023-12-17 20:50:59 +0200
  • 08e49f5d41
    Merge 9a4aaf6d9c into 236f3c0418 Jun Nishimura 2023-12-16 21:21:02 +0900
  • 86cb007ab4
    Merge 9c878d49b1 into 236f3c0418 Unai Martinez-Corral 2023-12-16 21:18:25 +0900
  • ab14efa558 feat(i18n): implement localization using gettext files Goutte 2023-04-04 04:17:45 +0200
  • 8b55b0ab5a
    Merge 99e4b7e11e into 236f3c0418 Marc Khouzam 2023-12-12 10:54:20 -0700
  • 236f3c0418
    Update projects_using_cobra.md (#2089) Marcus Kohlberg 2023-12-12 17:26:29 +0100
  • b93a1b6286
    Update projects_using_cobra.md Marcus Kohlberg 2023-12-12 14:05:00 +0100
  • 1107319c75 Add description disabling test cases Ville Skyttä 2023-12-11 22:18:46 +0200
  • 9740ecead4 Distinguish env var getter test cases better Ville Skyttä 2023-12-11 18:22:19 +0200
  • c96f1a622a Defer unsetting test env vars properly Ville Skyttä 2023-12-11 18:06:40 +0200
  • 138b0ab964 Use strconv.ParseBool to parse descriptions state from env Ville Skyttä 2023-12-11 18:04:40 +0200
  • 7aa559d693 Make getEnvConfig private Ville Skyttä 2023-12-11 17:37:09 +0200
  • ddad7c0887
    build(deps): bump actions/setup-go from 4 to 5 dependabot[bot] 2023-12-11 10:06:36 +0000
  • 03ef288abc
    Add a Data map[string]any field to store arbitrary data for a command. maxlandon 2023-12-04 08:30:39 +0100
  • 97b70019e9 Make use of the general purpose config env var getter in active help Ville Skyttä 2023-10-24 23:36:49 +0300
  • 957f4eb69c Add general purpose config env var getter Ville Skyttä 2023-11-26 16:49:29 +0200
  • 934601d616 fix: reset flags' value to default if flags have been parsed levisyin 2023-11-26 16:00:15 +0800
  • 3d8ac432bd
    Micro-optimizations (#1957) Ville Skyttä 2023-11-23 19:24:33 +0200
  • 99e4b7e11e Clarify documentation for completion Marc Khouzam 2023-11-23 10:43:31 -0500
  • b516e74458 Child command context is not updated when global context changed #2077 Varconst 2023-11-23 10:31:14 -0500
  • 15823e76b9 Print ActiveHelp for bash along other completions Marc Khouzam 2023-11-09 15:45:42 -0500
  • 9ede36eb73
    Merge 2b6e651ee4 into 283e32d889 Guilhem Lettron 2023-11-17 14:59:07 +0100
  • 1bd0dd1d30 adjust readme writing error Wiliam V. Joaquim 2023-11-15 12:48:15 -0300
  • 43b590284a
    Merge 9d4b134da1 into 283e32d889 Antoine Goutenoir 2023-11-13 09:25:09 -0800
  • 283e32d889
    Add LXC to the list of projects using cobra (#2071) SwagPack 2023-11-13 22:25:06 +0530
  • e793932324
    Add LXC to the list SwagPack 2023-11-13 14:43:13 +0530
  • e00551d418 Document how to create a plugin Nir Soffer 2023-11-12 15:55:40 +0200
  • e368063333 Fix help text for runnable plugin command Nir Soffer 2023-11-12 20:07:59 +0200
  • 87f8a108b2 Fix help text for plugins Nir Soffer 2023-11-12 17:20:47 +0200
  • b28f2326ca
    Revert back to 'Global Flags' Lars Kajes 2023-11-06 09:34:40 +0100
  • 9d4b134da1 chore: update go.sum with so much bloat Goutte 2023-11-05 00:34:23 +0100
  • cdb680ac1e fix(i18n): lint, review and clean up a little Goutte 2023-04-05 05:55:48 +0200
  • 775014c459 fix(i18n): remove an ugly hack Goutte 2023-04-04 11:39:07 +0200
  • 102ab5b544 fix(i18n): add a test for plurality of required flags Goutte 2023-04-04 10:40:59 +0200
  • 64f5c4f405 fix(i18n): test assertions and plurality Goutte 2023-04-04 10:37:26 +0200
  • ca6ece94df feat(i18n): translate more user-facing messages Goutte 2023-04-04 10:33:43 +0200
  • 0abea784c4 feat(i18n): translate the usage template as well Goutte 2023-04-04 09:04:29 +0200
  • d6ed0816a9 feat(i18n): add translations for args validation Goutte 2023-04-04 05:33:08 +0200
  • 2e90e51710 feat(i18n): add make i18n_extract and make i18n_merge Goutte 2023-04-04 04:46:33 +0200
  • cb76695584 feat(i18n): add golang.org/x/text that we need for some reason Goutte 2023-04-04 04:35:32 +0200
  • 6853f280ed feat(i18n): translate command error and usage tip Goutte 2023-04-04 04:34:22 +0200
  • ccbdd223d1 feat(i18n): draft of i18n with embedded TOML files Goutte 2023-04-04 04:17:45 +0200
  • 52e7b45312
    flags: clarify documentation that LocalFlags related function do not modify the state Dmytro Milinevskyi 2023-11-04 00:51:27 +0100
  • c4c04c1252
    add whitespace for clarity Milan Aleks 2023-11-03 15:00:44 -0500
  • 5aadb0d2bd
    Fix a logic lookup bug that was kind enough to surface at the good moment. maxlandon 2023-11-02 17:43:35 +0100
  • f5848b646b
    Rename GetFlagCompletionFuncByName() for flag names lookup maxlandon 2023-11-02 17:22:44 +0100
  • e7f13701e3
    Merge branch 'main' into completion maxlandon 2023-11-02 16:20:41 +0000
  • a0a6ae020b
    Improve API to get flag completion function (#2063) v1.8.0 Marc Khouzam 2023-11-02 11:23:08 -0400
  • 1548134ccb
    Remove useless duplicate import maxlandon 2023-11-02 15:34:36 +0100
  • 74f1665f72 Improve API to get flag completion function Marc Khouzam 2023-11-02 10:05:48 -0400
  • 69578f24ad
    Pass all tests by using correct flagComp lookups in completion command code. maxlandon 2023-11-02 14:54:55 +0100
  • 340cb4c7a3
    Fix compilation issues and remove commented code maxlandon 2023-11-02 14:39:11 +0100
  • 13d042d545
    Merge branch 'main' into completion maxlandon 2023-11-02 14:22:13 +0100
  • 890302a35f
    Support usage as plugin for tools like kubectl (#2018) Nir Soffer 2023-11-02 14:15:26 +0200
  • 955cac7eb9
    ignore resolve errors Mavaddat Javid 2023-10-30 11:48:03 -0400
  • 94243fef09
    need description property Mavaddat Javid 2023-10-30 11:44:11 -0400
  • 8b4835d0a9
    Merge branch 'spf13:main' into patch-1 Mavaddat Javid 2023-10-30 11:03:27 -0400
  • 48cea5c87b
    build(deps): bump actions/checkout from 3 to 4 (#2028) dependabot[bot] 2023-10-30 10:21:48 +0000
  • c901861b50
    Update powershell_completions.go Mavaddat Javid 2023-10-29 18:47:11 -0400
  • caeed9f2a4
    Update powershell_completions.go Mavaddat Javid 2023-10-29 17:00:24 -0400
  • 22953d8845
    Replace all non-alphanumerics in active help env var program prefix (#1940) Ville Skyttä 2023-10-29 20:06:51 +0200
  • 00b68a1c26
    Add tests for flag completion registration (#2053) Marc Khouzam 2023-10-28 16:11:59 -0400
  • b711e8760b
    Don't complete --help flag when flag parsing disabled (#2061) Marc Khouzam 2023-10-28 16:10:06 -0400
  • d54a5abed2 Don't complete --help flag when flag parsing disabled Marc Khouzam 2023-10-27 09:44:35 -0400
  • 8b1eba4761
    Fix linter errors (#2052) Marc Khouzam 2023-10-27 06:23:45 -0400
  • 4e1197edf1 changed auto generation info line from header to italics Milan May'r 2023-10-25 12:33:08 -0500
  • fedb5c67b6 changed autogeneration infoline from header to italics Milan May'r 2023-10-25 12:28:05 -0500
  • f78d7d44a3 Another change in docs to mention non-ASCII-alphanumeric instead of just dash Ville Skyttä 2023-06-19 23:27:31 +0300
  • a502bd1711 Replace all non-alphanumerics in active help env var program prefix Ville Skyttä 2023-03-28 21:09:50 +0300