Commit graph

8160 commits

Author SHA1 Message Date
Ed Page
360bb3bc11 fix(help): Properly wrap subcommand about
Fixes #5607
2024-07-31 16:17:40 -05:00
Ed Page
58b5bd89ea test(help): Show bad subcommand wrapping 2024-07-31 16:17:40 -05:00
Ed Page
e1f6320730
Merge pull request #5614 from epage/snap
test(help): Switch to snapbox
2024-07-31 16:07:55 -05:00
Ed Page
7b5b61b021 test(help): Switch to snapbox 2024-07-31 15:58:24 -05:00
Ed Page
1490e2434a chore: Update snapbox 2024-07-31 15:38:49 -05:00
Ed Page
6671d93500
Merge pull request #5613 from epage/flatten
fix(derive): Improve flattening-skipped-group assert
2024-07-31 15:30:28 -05:00
Ed Page
13dfdb3870 fix(derive): Improve flattening-skipped-group assert
- Improves the error message
- Happens on initialization, rather than parse, making it so it will
  always show up and not just when certain parts of the CLI are
  exercised

Fixes #5609
2024-07-31 15:19:29 -05:00
Ed Page
e1bdfcc6ad
Merge pull request #5612 from epage/ui
test(derive): Update UI tests to stable
2024-07-31 15:19:00 -05:00
Ed Page
4f875ffe20 test(derive): Show existing flatten behavior 2024-07-31 15:10:32 -05:00
Ed Page
c4e0d67bba test(derive): Update UI tests to stable 2024-07-31 14:52:53 -05:00
Mixu78
10fd5fe8e3
fix(clap_complete): Add missing option hyphens to the listItemText parameter in PowerShell completions 2024-07-31 21:30:55 +03:00
Ed Page
d18615dfc0 chore: Release 2024-07-31 12:20:00 -05:00
Ed Page
7d0c7bceaf docs: Update changelog 2024-07-31 12:19:41 -05:00
Ed Page
ca2265c601
Merge pull request #5601 from shannmu/multi-values
Support multiple values in native completions
2024-07-31 12:18:50 -05:00
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