Ed Page
f40b37f1d8
chore: Release
2024-10-02 09:34:07 -05:00
Ed Page
63bfe1a532
docs: Update changelog
2024-10-02 09:33:58 -05:00
Ed Page
d6bd7e2ea6
Merge pull request #5763 from epage/complete
...
fix(complete): Change ValueHint::Unknown to Other, from AnyPath
2024-10-02 10:31:17 -04:00
Ed Page
08875932f7
fix(complete): Change ValueHint::Unknown to Other, from AnyPath
...
`AnyPath` is the documented behavior *but* thats to help when there
isn't much other information. With us choosing a `ValueHint` based on
the value parser, we are less likely to get benefit from `AnyPath`.
Instead, this will greatly improve cases like Cargo where we offer path
completions on many arguments where it doesn't make sense.
2024-10-02 09:16:21 -05:00
Ed Page
61ebe72203
chore: Release
2024-10-01 13:01:58 -05:00
Ed Page
2e3fcc6aee
docs: Update changelog
2024-10-01 13:01:45 -05:00
Ed Page
13dad4c275
Merge pull request #5759 from clap-rs/renovate/unicode-width-0.x
...
chore(deps): Update Rust crate unicode-width to 0.2.0
2024-10-01 14:00:54 -04:00
Ed Page
3ca44c7fdb
Merge pull request #5758 from clap-rs/renovate/terminal_size-0.x
...
chore(deps): Update Rust crate terminal_size to 0.4.0
2024-10-01 14:00:41 -04:00
Ed Page
d71ae66c49
Merge pull request #5760 from clap-rs/renovate/stable-1.x
...
chore(deps): Update dependency STABLE to v1.81.0
2024-10-01 10:55:02 -04:00
renovate[bot]
a25c73411d
chore(deps): Update dependency STABLE to v1.81.0
2024-10-01 04:15:24 +00:00
renovate[bot]
fce38c1769
chore(deps): Update Rust crate unicode-width to 0.2.0
2024-10-01 04:15:19 +00:00
renovate[bot]
f6519218e4
chore(deps): Update compatible (dev) ( #5757 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 00:45:46 +00:00
renovate[bot]
a618230f88
chore(deps): Update Rust crate terminal_size to 0.4.0
2024-10-01 00:37:02 +00:00
Ed Page
fd31a1b613
Merge pull request #5754 from epage/shell
...
test: Make shell integration tests non-blocking
2024-09-27 16:59:35 -04:00
Ed Page
4621a4983a
Merge pull request #5755 from epage/runner
...
chore(ci): Ensure all tests run on the same runner
2024-09-27 16:36:21 -04:00
Ed Page
aaa5aaa54e
chore(ci): Ensure all tests run on the same runner
2024-09-27 14:28:10 -05:00
Ed Page
9e4fc9b697
test: Make shell integration tests non-blocking
...
We're running into the problem of tests being dependent on the version
of the command.
This has a side benefit of speeding up builds of tests because we don't
build nushell as often.
2024-09-27 13:53:12 -05:00
Ed Page
a6286cfa34
Merge pull request #5751 from epage/update
...
chore: Update from _rust template
2024-09-26 22:27:04 -04:00
Ed Page
cbcbaa3ad4
style: Make clippy happy
2024-09-26 21:20:17 -05:00
Ed Page
6556ad7e3b
chore: Update from _rust template
2024-09-26 21:15:28 -05:00
Ed Page
35fcbb7972
Merge pull request #24 from epage/pre-commit
...
chore: Ensure pre-commit gets non-system Python
2024-09-26 22:15:00 -04:00
Ed Page
6e193aa09a
chore: Ensure pre-commit gets non-system Python
...
This is needed with the ubuntu-24.04 images so that `setup-python` will
install a version of Python that the pre-commit action can install into.
See pre-commit/action#210 for more of an analysis of this.
2024-09-26 21:10:02 -05:00
Ed Page
8a35018b93
Merge pull request #5750 from armandas/master
...
docs: fix small error in Arg::raw
2024-09-26 21:40:57 -04:00
Armandas Jarušauskas
6ffdd32d87
docs: fix small error in Arg::raw
2024-09-27 10:24:03 +09:00
Ed Page
1c0e602d80
Merge pull request #5744 from shannmu/elvish_doc_fix
...
doc(complete): Fix how to add completions in elvish
2024-09-21 17:37:43 -04:00
shanmu
7df66be695
doc(complete): Fix how to add completions in elvish
2024-09-22 03:48:50 +08:00
Ed Page
1f74b0178d
chore: Release
2024-09-20 15:05:01 -05:00
Ed Page
23feee1c13
docs: Update changelog
2024-09-20 15:04:54 -05:00
Ed Page
ae1457b34a
chore(complete): Update require clap
2024-09-20 15:02:49 -05:00
Ed Page
0d142f6c04
chore: Release
2024-09-20 15:01:33 -05:00
Ed Page
0facf1f370
docs: Update changelog
2024-09-20 15:00:58 -05:00
Ed Page
ee6af99c6c
Merge pull request #5743 from epage/sort
...
fix(complete): Sort by display order
2024-09-20 15:57:37 -04:00
Ed Page
232ee10661
fix(complete): Use existing display order for Arg/Command
2024-09-20 14:45:54 -05:00
Ed Page
c6b5d627a0
feat(builder): Expose get_display_order
2024-09-20 14:43:16 -05:00
Ed Page
67d9fef9ce
feat(complete): Give control over display order
2024-09-20 14:39:18 -05:00
Ed Page
59a61e188f
refactor(complete): Pull out common candidate code
2024-09-20 14:36:07 -05:00
Ed Page
1448791940
fix(complete): Specify tags for built-in candiates
2024-09-20 14:29:05 -05:00
Ed Page
a4aa5dffdf
feat(complete): Group by tag
2024-09-20 14:04:40 -05:00
Ed Page
a126149a80
refactor(complete): Remove redundant dedup
...
Our `id` de-duping takes care of this.
2024-09-20 13:59:16 -05:00
Ed Page
2450ca7995
Merge pull request #5741 from epage/complete-short
...
fix(complete): When completing -[TAB], prioritize shorts
2024-09-20 14:56:03 -04:00
Ed Page
cd6280fc87
fix(complete): Have shorts fallback to using long as description
...
It should be rare that this is helpful
2024-09-20 13:43:23 -05:00
Ed Page
8af051c439
fix(complete): When completing -[TAB], prioritize shorts
2024-09-20 13:43:23 -05:00
Ed Page
7422785a85
refactor(complete): Merge argument handling
2024-09-20 13:43:23 -05:00
Ed Page
6b426dfd70
test(complete): Add another sort/filter case
2024-09-20 13:43:12 -05:00
Ed Page
8b88646129
style: Format test
2024-09-20 13:42:50 -05:00
Ed Page
3af629a141
Merge pull request #5740 from epage/complete-id
...
fix(complete): De-duplicate built-in candidates
2024-09-20 14:27:41 -04:00
Ed Page
89a9d79a4c
fix(complete): De-duplicate built-in candidates
...
Part of #5058
2024-09-20 11:07:17 -05:00
Ed Page
7b06d9a358
feat(complete): Allow de-duplicating of candidates
2024-09-20 11:07:01 -05:00
Ed Page
3bcc7f806d
Merge pull request #5739 from epage/snap
...
fix(complete): Prioritize subcommands, positionals over flags
2024-09-20 12:01:22 -04:00
Ed Page
2bd2c1262e
fix(complete): Prioritize subcommands, positionals over flags
2024-09-20 10:37:53 -05:00