Commit graph

  • 680936a220
    New logo Steve Francia 2025-02-11 20:00:54 -05:00
  • 24890cbdfc
    Merge 89c1e0df76 into 8cb30f9ca5 Unai Martinez-Corral 2025-02-11 19:01:00 +01:00
  • 62781eb0a4
    Use interface{} instead of any for backward compatibility maxlandon 2025-02-11 16:43:58 +00:00
  • 8cb30f9ca5
    feat: add CompletionWithDesc helper (#2231) ccoVeille 2025-02-09 17:06:07 +01:00
  • 19e833b707 Replace more 'string' with 'Completion' Marc Khouzam 2025-02-09 08:27:57 -05:00
  • 865cca0289
    Apply code review feedback ccoVeille 2025-02-09 09:21:55 +01:00
  • 8bcda5b137
    Rename helpers after feedback made during the review ccoVeille 2025-02-09 00:00:37 +01:00
  • ae509db00b
    chore: add unit tests for completions helper ccoVeille 2025-02-08 22:53:55 +01:00
  • 7b78b0536a
    Apply code review feedback ccoVeille 2025-02-08 21:08:11 +01:00
  • f80a6ab97a
    feat: add CompletionWithDesc helper ccoVeille 2025-02-08 02:00:26 +01:00
  • 3bc273c9e6 Remove the default "completion" cmd if it is alone Marc Khouzam 2023-06-19 14:55:58 -04:00
  • 39ab343764
    Merge 5b955a4f19 into 17b6dca2ff Antoine Goutenoir 2025-02-06 23:13:31 +01:00
  • 17b6dca2ff
    doc: add Conduit (#2230) Raúl Barroso 2025-02-06 21:35:25 +01:00
  • f1fbedb3c1
    doc: add Conduit Raúl Barroso 2025-02-06 18:47:56 +01:00
  • ab5cadcc1b
    Allow to reset the templates to the default (#2229) Marc Khouzam 2025-02-06 10:25:44 -05:00
  • a6212d9e71
    Merge ce30e98be2 into 4ba5566f57 Ingo Bürk 2025-02-04 19:38:30 +00:00
  • 059503c9c2 Allow to reset the templates to the default Marc Khouzam 2025-02-02 12:06:02 -05:00
  • 5b955a4f19 chore: remove support for i18n of the default usage template string (we use the default usage function instead) Goutte 2025-02-02 12:58:42 +01:00
  • 8764826b7f feat(i18n): localize the default usage function Goutte 2025-02-02 12:54:52 +01:00
  • 411323dcca fix: make the test suite happy again Goutte 2025-02-02 12:24:40 +01:00
  • de0723fc08 chore: fix a rebase blooper Goutte 2025-02-02 11:51:31 +01:00
  • d995d9fd4e feat(i18n): test the locales using the appropriate build flag Goutte 2024-01-10 16:44:52 +01:00
  • 4a45b27a39 chore(i18n): lint Goutte 2024-01-10 16:37:15 +01:00
  • 3896533e76 feat(i18n): add a Makefile recipe to install i18n extraction dependencies Goutte 2024-01-10 16:13:34 +01:00
  • d5cb9699a3 feat(i18n): only embed locale files when using the build tag 'locales' Goutte 2024-01-10 16:07:48 +01:00
  • dfa07b5f3a feat(i18n): implement localization using gettext files Goutte 2023-04-04 04:17:45 +02:00
  • 4ba5566f57
    fix(bash): nounset unbound file filter variable on empty extension (#2228) Ville Skyttä 2025-02-01 23:35:34 -01:00
  • dad4076277 fix(bash): nounset unbound file filter variable on empty extension Ville Skyttä 2025-02-01 23:33:05 +02:00
  • b81f68ad85 Fix unnecessary Sprintf. Žan V. Dragan 2025-02-01 21:42:11 +01:00
  • 41b26ec8bb
    Print ActiveHelp for bash along other completions (#2076) Marc Khouzam 2025-01-29 19:28:46 -05:00
  • 8ffecf740d fix: indentation level of examples section Johan Fagerström 2025-01-29 20:20:01 +01:00
  • e9e9e2aa68 Print ActiveHelp for bash along other completions Marc Khouzam 2023-11-09 15:45:42 -05:00
  • 611e16c322
    Allow linker to perform deadcode elimination for program using Cobra (#1956) Alessandro Arzilli 2025-01-27 15:43:43 +01:00
  • 5df541d5ef Resolve gofmt error Harald Albers 2025-01-26 22:36:57 +00:00
  • dbc168cce1 Fix missing recursion Marc Khouzam 2025-01-26 06:33:50 -05:00
  • 0f94115d1c disable TestDeadcodeElimination on windows aarzilli 2025-01-26 09:06:44 +01:00
  • 082a3658e7 Add test Marc Khouzam 2025-01-25 16:06:01 -05:00
  • 5d464d15bf Some minor cleanup Marc Khouzam 2025-01-25 08:16:50 -05:00
  • 6585f26cec make string "help" a constant more aarzilli 2024-12-26 09:38:21 +01:00
  • beec32994a make string "help" a constant aarzilli 2024-12-06 16:38:53 +01:00
  • bed6de4451 addressing review comments aarzilli 2024-10-15 10:33:24 +02:00
  • 8090e484f6 Restructure code to let linker perform deadcode elimination step aarzilli 2023-05-05 22:14:12 +02:00
  • 40aaac8e53
    Merge e9498ae28a into 09d5664f34 Pedro Mota 2025-01-24 22:38:29 +09:00
  • 171a234ba4
    Merge ec6fe6b61c into 09d5664f34 Teppei Fukuda 2025-01-24 22:37:47 +09:00
  • 1fd0dd1361
    Merge 9fbba57c76 into 09d5664f34 Marc Khouzam 2025-01-24 13:07:07 +00:00
  • 72f699a553
    Merge e86f3862de into 09d5664f34 Jun Nishimura 2025-01-24 00:07:24 +09:00
  • 09d5664f34
    Add similar whitespace escape logic to bash v2 completions than in other completions (#1743) Toni Kangas 2025-01-23 04:28:30 +02:00
  • ae35f9573b Add aliases to doc markdown divolgin 2025-01-22 11:02:33 -08:00
  • 6c3c1163c6
    feat: add CompletionFunc type to help with completions (#2220) ccoVeille 2025-01-22 02:34:05 +01:00
  • 9a528ef57a
    Apply code review feedback ccoVeille 2025-01-21 22:54:52 +01:00
  • b4f26aebb9
    Apply suggestions from code review Harald Albers 2025-01-21 09:10:52 +01:00
  • 42ce70a2a5 Must do escaping earlier to match what the user typed Marc Khouzam 2025-01-17 21:45:47 -05:00
  • 5897ead246 Rework to allow override on suggestion output, only, keeping common search logic. Žan V. Dragan 2025-01-20 21:15:57 +01:00
  • e1b5d54f0a
    Merge af165be453 into 01ffff4eca Victor Kareh 2025-01-20 08:22:40 +00:00
  • 33e3ac194f Be more explicit about the default ShellCompDirective Harald Albers 2025-01-20 08:17:22 +00:00
  • 440c33b3b3 The default ShellCompDirective can be configured Harald Albers 2025-01-19 22:32:32 +00:00
  • 72b055394b
    feat: add CompletionFunc type to help with completions ccoVeille 2025-01-20 00:22:48 +01:00
  • 4d65edfb54 Switch condition and returns. Žan V. Dragan 2025-01-19 13:05:58 +01:00
  • 90335672a9 Fix search for parent's suggest function and improve tests. Žan V. Dragan 2025-01-19 00:36:37 +01:00
  • 74a2762d10 Use line-break as field separator in compgen words input Toni Kangas 2022-06-23 23:46:49 +03:00
  • 190ea5d106 Escape bash completion when there is only one possible completion Toni Kangas 2022-06-23 16:59:54 +03:00
  • 84b14d4e50 Simplify calling of the suggestion function. Žan V. Dragan 2025-01-18 00:14:46 +01:00
  • e4d96b75c1 Make command suggestion messages configurable. Žan V. Dragan 2025-01-17 22:27:51 +01:00
  • a9bed3a190
    Merge branch 'spf13:main' into patch-1 faizan-siddiqui 2025-01-16 13:40:26 +11:00
  • dd7bc42aa8 fix test error message faizan-siddiqui 2025-01-16 02:39:38 +00:00
  • 1c44c42794
    fix comment to say other flags will be marked required instead of second flag faizan-siddiqui 2025-01-16 13:25:44 +11:00
  • cb45935c4b
    add more verbose test cases faizan-siddiqui 2025-01-16 13:25:06 +11:00
  • ad5e8c3579
    update error message to be more readable faizan-siddiqui 2025-01-16 13:24:47 +11:00
  • 6c7506b303
    Merge 5aadb0d2bd into 01ffff4eca maxlandon 2025-01-14 08:37:54 +00:00
  • 01ffff4eca
    chore: fix function name in comment (#2216) ZhuHaiCheng 2025-01-12 20:49:28 +08:00
  • 45fb82987d chore: fix function name in comment zhuhaicity 2025-01-12 15:19:36 +08:00
  • 2fc6dad66e Automatically escape all special characters as soon as completion would print them to the command line (COMP_TYPE=9) Jeffrey Faer 2024-12-30 14:27:30 -07:00
  • ae37156f63 Removing unused includeDesc parameter Jack Wright 2024-12-29 13:23:29 -08:00
  • 0745e55762
    completion: improve detection for flags that accept multiple values (#2210) Sebastiaan van Stijn 2024-12-28 23:41:43 +01:00
  • 8c1b26b9f4 Address comments Marc Khouzam 2024-12-28 17:25:02 -05:00
  • 65d3afe0bf completion: improve detection for flags that accept multiple values Sebastiaan van Stijn 2024-12-28 15:06:48 +01:00
  • d1e9d85fcf
    Make detection for test-binary more universal (#2173) Sebastiaan van Stijn 2024-12-28 23:07:03 +01:00
  • fd4665affe Address comments Marc Khouzam 2024-12-28 16:48:47 -05:00
  • ac1ca097a3
    Make detection for test-binary more universal Sebastiaan van Stijn 2024-07-16 18:11:41 +02:00
  • 3fb73641fe
    Merge 86e879bfa9 into 9f9056765c Daniel Iziourov 2024-12-21 16:53:36 +01:00
  • 997ac04e61 Merge branch 'main' into nushell Jack Wright 2024-12-18 08:58:23 -08:00
  • 9f9056765c
    build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.5 to 2.0.6 (#2206) Sebastiaan van Stijn 2024-12-17 03:26:34 +01:00
  • b8ba7829ae
    build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.5 to 2.0.6 Sebastiaan van Stijn 2024-12-16 18:53:44 +01:00
  • da1bab9757 Fixed the ShellCompDirectiveNoFileComp case Jack Wright 2024-12-11 17:22:41 -08:00
  • 8519630750
    Update to latest go-md2man (#2201) Mikel Olasagasti Uranga 2024-12-11 13:26:08 +01:00
  • 1df1dbd552 cobra logging command Jack Wright 2024-12-08 20:34:38 -08:00
  • 52185bed6e tweaking extra completion instructions Jack Wright 2024-12-08 19:44:45 -08:00
  • d728bbb91e Nushell instructions tweak Jack Wright 2024-12-08 19:38:47 -08:00
  • 14e642ede9 fixed bad grammar mistake Jack Wright 2024-12-08 19:35:50 -08:00
  • e0ac28fad8 fix fish reference Jack Wright 2024-12-08 19:33:48 -08:00
  • 7a9725b587 Only quote the last arg. Jeffrey Faer 2024-12-05 21:33:06 -07:00
  • df206d9f38 remove line Jeffrey Faer 2024-12-04 23:04:36 -07:00
  • 718f1d85e5 Handle wordbreaks better. Jeffrey Faer 2024-12-04 22:55:38 -07:00
  • 9771cb0949 address review comments Jeffrey Faer 2024-12-04 21:39:24 -07:00
  • 76d900bc72 Don't quote different completion types. Jeffrey Faer 2024-05-01 12:54:23 -06:00
  • 497d36cfc1 fix: We don't need an extra empty character when we're doing proper quoting. Jeffrey Faer 2024-04-19 23:25:37 -06:00
  • d131fa6e88 fix(bash): Fix bash completion for suggestions that contain special characters. Jeffrey Faer 2024-02-27 23:11:42 -07:00
  • 93a41331ec tmpfile handling changes Jack Wright 2024-12-01 20:05:39 -08:00
  • 470ca0a628 Added a comment at the beginning to remain consistent with other shells. Jack Wright 2024-12-01 20:05:18 -08:00
  • ddb39920b4 More documentation work for nushell Jack Wright 2024-12-01 18:44:56 -08:00