Commit graph

8270 commits

Author SHA1 Message Date
Ed Page
e6d6de9672 chore(ci): Specify image for template update 2024-10-23 08:24:56 -05:00
Ed Page
6ce7729c84 chore(ci): Fix permissions for template update 2024-10-23 08:23:51 -05:00
Ed Page
19e103d79e chore(ci): Experiment with template update 2024-10-23 08:22:41 -05:00
Ed Page
61f5ee514f chore: Release 2024-10-08 08:56:17 -05:00
Ed Page
3e6538427f docs: Update changelog 2024-10-08 08:55:52 -05:00
Ed Page
fca8f73c2c
Merge pull request #5706 from shannmu/external_subcommand
feat: Simple support to complete external subcommand
2024-10-08 09:54:27 -04:00
shannmu
fc82a3e528 feat(complete): Support to complete custom external subcommand 2024-10-08 15:49:02 +08:00
shannmu
6a09122421 test(complete): Add test for external subcommand 2024-10-07 16:29:44 +08:00
Ed Page
d2874a50cf
Merge pull request #5766 from epage/completer
feat: Add CommandExt support
2024-10-02 13:52:39 -04:00
Ed Page
a767a97c79 feat: Add CommandExt support 2024-10-02 12:25:56 -05:00
Ed Page
32853d7b19 refactor(builder): Make Ext code similar for Arg, Command 2024-10-02 12:24:35 -05:00
Ed Page
e9ce1be707 refactor(builder): Rename AppTag to AppExt 2024-10-02 12:24:15 -05:00
Ed Page
f89afeb861 refactor(complete): Put most general completer first 2024-10-02 12:05:53 -05:00
Ed Page
81b9db2da0 chore: Release 2024-10-02 12:03:17 -05:00
Ed Page
d3d7a17e82 chore: Merge branch 'master' into upstream/master 2024-10-02 12:02:31 -05:00
Ed Page
361114ef0f chore: Release 2024-10-02 12:01:34 -05:00
Ed Page
b693fc0fa3 docs: Update changelog 2024-10-02 12:01:27 -05:00
Ed Page
7100091a69
Merge pull request #5765 from epage/complete
refactor(complete): Better separate concerns
2024-10-02 12:59:57 -04:00
Ed Page
e90b2daf5e refactor(complete): Pull our registration writing 2024-10-02 10:10:58 -05:00
Ed Page
95e99ef118 refactor(complete): Pull out shell lookup 2024-10-02 09:55:33 -05:00
Ed Page
4af0cd65f1 fix(complete): Loosen requirements on Command factory 2024-10-02 09:54:31 -05:00
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