Commit graph

7996 commits

Author SHA1 Message Date
shannmu
f0bd47506f feat(clap_complete): Support multi-values of positional argument with num_arg(N) 2024-07-31 20:27:37 +08:00
shanmu
3f2466b2f6 test(clap_complete): Add test case for multi-values of positional argument with num_args(N) 2024-07-31 20:25:57 +08:00
shannmu
75a45e5aa0 feat(clap_complete): Support multiple values after flags in native completions 2024-07-30 18:33:43 +08:00
shannmu
5d8c84b83e test(clap_complete): Add test case for multi-values comlpetion after flags 2024-07-30 18:32:29 +08:00
renovate[bot]
16fba4b9f9
chore(deps): Update Rust Stable to v1.80 (#5600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 19:38:17 +00:00
Ed Page
8a92f42302
Merge pull request #5603 from epage/lint-1.80
style: Make clippy happy
2024-07-26 14:31:50 -05:00
Ed Page
9c6ef3e057 refactor: Resolve deprecations 2024-07-26 14:24:08 -05:00
Ed Page
82912c3a51 style: Make clippy happy 2024-07-26 14:24:08 -05:00
Ed Page
e014ea659f
Merge pull request #5599 from epage/template
chore: Update from '_rust/main' template
2024-07-26 09:52:16 -05:00
Ed Page
78daebd4ec chore: Upgrade backtrace 2024-07-26 09:36:43 -05:00
Ed Page
e12287d5c8 chore(ci): Skip clap_bench from minimal-versions
Not doing dev packages
2024-07-25 21:04:51 -05:00
Ed Page
9c58c486ce chore(ci): Skip clap_complete_nushell from minimal-versions
Its just too messy to try to handle.
2024-07-25 20:48:46 -05:00
Ed Page
a0ed391882 chore: Update from '_rust/main' template 2024-07-25 16:50:27 -05:00
Ed Page
87d9ae55c7 chore: Fix clippy::lint_groups_priority for 1.80 2024-07-25 15:48:09 -05:00
Ed Page
349ed304cf chore: Release 2024-07-25 13:08:28 -05:00
Ed Page
68ed9ff02d docs: Update changelog 2024-07-25 13:08:20 -05:00
Ed Page
afecaa4f9a
Merge pull request #5576 from shannmu/option_value_new
feat(clap_complete): Support `-fbar` and `-f=bar` in native completions
2024-07-25 13:07:24 -05:00
Ed Page
4a00677024 chore: Release 2024-07-25 08:39:13 -05:00
shannmu
36c849b5bb refactor(clap_complete): Reuse code about shortflag parsing 2024-07-25 14:57:27 +08:00
shanmu
fc479ba625 feat(clap_complete): Add support for -fbar and -f=bar completion 2024-07-25 14:49:19 +08:00
shanmu
48a23f5c94 test(clap_complete): Add test cases for -fbar and -f=bar completion 2024-07-25 14:49:06 +08:00
Ed Page
6b18d7725c docs(derive): Acknowledge Vec<Vec<T>> 2024-07-24 10:48:05 -05:00
Ed Page
5efa52ad45 chore: Release 2024-07-23 10:36:14 -05:00
Ed Page
1857e47e2d docs: Update changelog 2024-07-23 10:35:20 -05:00
Ed Page
8697a6134b chore: Release 2024-07-23 10:32:00 -05:00
Ed Page
a271c19e2b
Merge pull request #5539 from shannmu/option_value
feat(clap_complete): Support flags with values `--flag bar`and `-f bar` in native completions
2024-07-23 10:31:15 -05:00
shanmu
f7383f7d6d feat(clap_complete): Add support --flag bar and -f bar completion 2024-07-23 18:18:30 +08:00
shannmu
2f53bb3f90 test(clap_complete): Add test cases for --flag bar and -f bar completion 2024-07-23 17:47:05 +08:00
shannmu
932ca1356f refactor(clap_complete): Replace parameters in complete_arg with ParseState 2024-07-23 02:43:42 +08:00
Ed Page
73b07c9ab5 docs: Remove stale ColorChoice platform notes
This was called out in #5590
2024-07-20 12:14:22 -05:00
Ed Page
e142795de6
Merge pull request #5585 from shannmu/hidden_possible_values
feat(clap_complete): Support hiding possible values
2024-07-19 11:37:42 -05:00
shannmu
9220bbdeba feat(clap_complete): Support hiding possible values 2024-07-19 11:30:36 -05:00
shannmu
4395c31cc5 test(clap_complete): Add test case for hiding possible values 2024-07-19 11:30:36 -05:00
Ed Page
93f0c4828c
Merge pull request #5584 from shannmu/hidden_subcommands_and_aliases
feat(clap_complete): Support hiding subcommands and their aliases
2024-07-19 11:28:52 -05:00
shannmu
d68c91af95 feat(clap_complete): Support hiding subcommands and their aliases 2024-07-19 11:20:16 -05:00
shannmu
db1fbc29b9 test(clap_complete): Add test case for hiding subcommands and their aliases 2024-07-19 11:20:16 -05:00
Ed Page
871005724d
Merge pull request #5583 from shannmu/hidden_flags_and_aliases
feat(clap_complete): Support hiding long flags and their long aliases
2024-07-19 11:18:22 -05:00
shannmu
d1e0f6073c feat(clap_complete): Support hiding long flags and their long aliases 2024-07-19 22:49:35 +08:00
shannmu
903b73bd1c test(clap_complete): Add test cases for hiding long flags and their long aliases 2024-07-19 22:49:35 +08:00
Ed Page
7f903005b8
Merge pull request #5586 from shannmu/glue_documentation
docs: Add document comments how to source dynamic completions
2024-07-19 09:29:32 -05:00
shannmu
43e17f2c2b docs: Add document comments how to source dynamic completions 2024-07-19 22:04:12 +08:00
shannmu
67e31af334 refactor(clap_complete): Add CompletionCandidate to replace (OsString, Option<StyledStr>) 2024-07-19 18:29:16 +08:00
Ed Page
ff204809a5
Merge pull request #5544 from shannmu/elvish_glue
feat(clap_complete): add native completion support for elvish
2024-07-18 08:11:58 -05:00
shannmu
697b88e28f feat(clap_complete): Add elvish support for native completion 2024-07-18 13:44:27 +08:00
Ed Page
4a8d6806d9
Merge pull request #5549 from shannmu/hidden_aliases
feat(clap_complete): Add support for visible subcommand aliases
2024-07-17 16:20:17 -05:00
Ed Page
beeffe80b5
Merge pull request #5545 from shannmu/zsh_glue
feat(clap_complete): add native completion support for zsh
2024-07-17 13:30:25 -05:00
shannmu
cef9393c5d feat(clap_complete): Add zsh support for native completion 2024-07-17 23:29:48 +08:00
shanmu
152b2e8a55 feat(clap_complete): Add support for visible subcommand aliases 2024-07-16 16:26:52 +08:00
shanmu
c41d41cbdc test(clap_complete): Add test case for visible subcommand aliases 2024-07-16 16:26:02 +08:00
Ed Page
44189f3388 chore: Release 2024-07-10 20:34:37 -05:00