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
Ed Page
f5e7b7a16a
docs: Update changelog
2024-07-10 20:34:29 -05:00
Ed Page
280fb4edee
Merge pull request #5568 from tesuji/fish-nested-sub
...
fish/complete: Generate helper functions to check for subcommands
2024-07-10 20:33:53 -05:00
Lzu Tao
6243d65463
fix: Only generate stubs if has subcommands
2024-07-11 06:01:42 +07:00
Ed Page
f5965e5862
chore: Update dependencies
2024-07-10 10:59:22 -05:00
Ed Page
afd7270a06
chore: Update dev-dependencies
2024-07-10 10:57:41 -05:00
Ed Page
bdb06a11df
chore(ci): Verify version requirements
2024-07-09 11:10:20 -05:00
Ed Page
43e7368283
chore: Release
2024-07-08 21:07:21 -05:00
Ed Page
f00dafa690
docs: Update changelog
2024-07-08 21:07:10 -05:00
Ed Page
da1093a4f4
Merge pull request #5574 from zanieb/zb/try-help-custom
...
feat: Show user defined help flags in hints
2024-07-08 21:06:18 -05:00
Lzu Tao
76b9c46241
style: Prefer matching with enum name
2024-07-09 07:51:21 +07:00
Lzu Tao
0462be61cc
doc: Explain why we fallback to the old behavior
2024-07-09 07:40:11 +07:00
Zanie Blue
2eb842cc3b
feat: Show user defined help flags in hints
...
This allows display of user-defined help flags during "try 'help'" style
messages
2024-07-08 19:01:22 -05:00
Zanie Blue
b24deb101f
test: Add coverage for help flag hints
2024-07-08 19:01:22 -05:00
Lzu Tao
eba26a9376
chore: Explain why -lt 3 levels of subcommands
2024-07-09 06:56:31 +07:00
Lzu Tao
1dd1056cd7
fix: Check for real optional arguments
2024-07-07 07:27:47 +07:00
Lzu Tao
e276fc420b
fix: Fix conditions to generate helpers
...
Both should be met.
2024-07-07 00:26:53 +07:00
Lzu Tao
6c706d534b
chore: Use get_action to filter out help/version flags
2024-07-07 00:16:48 +07:00
Lzu Tao
2167fee212
fix(fish): Don't handle level 3 nested subcommand
...
Nested subcommand more than 3 levels is not practical in public.
Take rustup for example, `rustup toolchain install <version>`,
there is only 3 levels of nested subcommands. But there is also
the case of `rustup help toolchain install`, or `rustup toolchain help install`.
2024-07-06 07:58:43 +07:00
Lzu Tao
a6ac45f566
feat(fish): Support nested subcommand completion
2024-07-06 07:27:56 +07:00
renovate[bot]
866d7d14d3
chore(deps): Update compatible (dev) ( #5560 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-05 21:03:02 +00:00
Ed Page
d14bbc9531
Merge pull request #5567 from epage/c
...
fix: Don't silently ignore complete tests when missing installed shells on CI
2024-07-05 15:44:48 -05:00
Lzu Tao
5448020b18
fix: Install shells for CI
2024-07-05 15:35:01 -05:00
Lzu Tao
1c5a625ad0
fix: Fix wrong cfg(linux)
2024-07-05 15:35:01 -05:00
Lzu Tao
2d2d1f4987
chore: Bump completest
2024-07-05 15:35:01 -05:00
Lzu Tao
7c00ad2e3e
test(comlete): Show all fish completions
2024-07-05 15:34:42 -05:00
Ed Page
3689a4c867
test(complete): Fix snapshots
2024-07-05 15:02:08 -05:00
Ed Page
045de9321a
Merge pull request #21 from jalil-salame/patch-1
...
Fix typos in CONTRIBUTING.md
2024-07-04 12:21:30 -05:00
Jalil David Salamé Messina
eb4e999f1b
Fix typos in CONTRIBUTING.md
...
I found this through [mastodon][1] and found the typos jarring.
[1]: https://hachyderm.io/@epage/112729287446906823
2024-07-04 19:06:12 +02:00
Ed Page
0547ff2d0f
docs(contrib): Clarify our policies
2024-07-04 12:54:40 -04:00