Commit graph

7387 commits

Author SHA1 Message Date
Ed Page
ee1388c0a3 chore: Release 2023-08-07 20:36:44 -05:00
Ed Page
390436681a docs: Update changelog 2023-08-07 20:36:27 -05:00
Ed Page
3156e1a35c
Merge pull request #5066 from 9999years/export-trymapvalueparser
feat: Allow referencing `TypedValueParser` in`ValueParserFactory` associated type
2023-08-07 20:35:49 -05:00
Ed Page
da19141560 chore: Release 2023-08-07 20:34:01 -05:00
Ed Page
b96cbafcbe chore: Release 2023-08-07 20:33:13 -05:00
Ed Page
174f12c7f8 docs: Update changelog 2023-08-07 20:32:52 -05:00
Ed Page
fe04b3cc4e
Merge pull request #5056 from ModProg/dynamic-completions-help
Show arg/command descriptions in dynamic completions
2023-08-07 15:23:14 -05:00
Roland Fredenhagen
aa3f47c239
test(complete): Help for possible value 2023-08-07 14:02:57 +07:00
Roland Fredenhagen
65b9c2b37d
test(complete): Helper for asserting dynamic completions 2023-08-07 13:46:27 +07:00
Rebecca Turner
c86172e891
feat: Export builder::TryMapValueParser
Partial fix for #5065, allows using TypedValueParser::try_map to
implement a ValueParserFactory.
2023-08-03 15:53:38 -07:00
Roland Fredenhagen
5b10a9d83c
test(complete): Test help escaping 2023-08-04 01:20:50 +07:00
Roland Fredenhagen
bdefebf663
feat(complete): Show help in dynamic completions 2023-08-04 01:20:47 +07:00
Roland Fredenhagen
b613548b03
refactor(complete): Stop using generate utils in dynamic 2023-08-03 16:51:01 +07:00
Ed Page
ca855c651c
Merge pull request #5060 from clap-rs/renovate/completest-0.x
chore(deps): update rust crate completest to 0.0.17
2023-07-31 20:45:01 -05:00
renovate[bot]
6cd2706bf4
chore(deps): update compatible (dev) (#5059)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 01:20:36 +00:00
renovate[bot]
1afb100687
chore(deps): update rust crate completest to 0.0.17 2023-08-01 00:56:25 +00:00
Ed Page
56048d8c09
Merge pull request #5051 from joshtriplett/mut-args
Add `Command::mut_args` to modify all arguments of a `Command`
2023-07-31 19:55:03 -05:00
Ed Page
364114743f docs(gh): Improve grep suggestion 2023-07-31 16:35:03 -05:00
Ed Page
40650fa707
Merge pull request #5048 from ModProg/fish-dynamic-completions-v3
feat(completions): Dynamic fish completions
2023-07-31 14:00:19 -05:00
Roland Fredenhagen
4f9cf6be20
feat(complete): Dynamic fish completions 2023-08-01 01:42:05 +07:00
Josh Triplett
9c090262cd feat: Command::mut_args to modify all arguments
Convenient when you want to modify most or all arguments, without having
to call `mut_arg` for each one and name them all.
2023-07-28 21:16:29 -07:00
Ed Page
a3d93f485f
Merge pull request #5049 from epage/dyn
test(complete): Unblock E2E dynamic completion tests
2023-07-28 15:15:43 -05:00
Roland Fredenhagen
a59c175396 fix(complete): Return leading dash on short args 2023-07-28 14:52:05 -05:00
Ed Page
0669994bbc style: Make clippy happy 2023-07-28 14:51:57 -05:00
Roland Fredenhagen
edabdf72b5 fix(complete): Only return imidiate child subcommands 2023-07-28 14:51:56 -05:00
Ed Page
12e1877627 fix(complete): Fix bash dynamic completions 2023-07-28 14:10:22 -05:00
Ed Page
56afdabcc0 test(complete): Rename fixture to avoid ambiguity 2023-07-28 13:54:02 -05:00
Ed Page
dc953e95d0 test(complete): Register bash dynamic completions 2023-07-28 13:28:30 -05:00
Roland Fredenhagen
9a6208c795 test(complete): Allow E2E dynamic completion tests 2023-07-28 12:55:57 -05:00
Ed Page
dac33b686b test(complete): Only limit by command when needed 2023-07-28 12:52:44 -05:00
Ed Page
fa95531230 test(complete): Make room for alt completion styles 2023-07-28 12:48:36 -05:00
Ed Page
74109e5c1a
Merge pull request #5047 from epage/nu
refactor(test): Move nushell tests to completest
2023-07-27 15:45:19 -05:00
Ed Page
053c778e98
Merge pull request #5045 from ModProg/fish-dynamic-completions-v3
chore(ci): Verify dynamic completion support
2023-07-27 08:01:17 -05:00
Roland Fredenhagen
505046bf88
chore(ci): Test dynamic completions 2023-07-27 19:44:55 +07:00
Ed Page
abdb1d513e refactor(test): Move nushell tests to completest 2023-07-26 21:06:11 -05:00
Ed Page
eef2955e27
Merge pull request #5046 from epage/fish
chore: Update completest
2023-07-26 21:04:57 -05:00
Ed Page
71d6a3d3ca chore: Update completest 2023-07-26 20:48:02 -05:00
Roland Fredenhagen
ab1407f1ae
chore: Fix dynamic completion tests 2023-07-26 23:52:14 +07:00
Roland Fredenhagen
f16a1a76bc
chore: Clippy 2023-07-26 23:48:37 +07:00
Ed Page
1f022b8395
Merge pull request #5043 from epage/compl
chore(complete): Update completest
2023-07-24 13:17:03 -05:00
Ed Page
f98ba908aa chore(complete): Update completest 2023-07-24 12:57:56 -05:00
Ed Page
ae5549d61f chore: Release 2023-07-21 16:56:00 -05:00
Ed Page
4b30a2cfe1 docs: Update changelog 2023-07-21 16:55:50 -05:00
Ed Page
5540d20286
Merge pull request #5037 from epage/term
fix(parser): Value terminator has higher precedence than later multiple values
2023-07-21 16:54:29 -05:00
Ed Page
8bee728034 fix(parser): Value terminator has higher precedence than later multiple values
This is one of several bugs found when looking at #4960.
2023-07-21 16:41:08 -05:00
Ed Page
bdf205bff2 test(parser): Show one value terminator bug 2023-07-21 16:05:38 -05:00
Ed Page
727ca29674
Merge pull request #5034 from epage/update
chore(complete): Update completest
2023-07-21 15:00:22 -05:00
Ed Page
9856d67541 chore: Release 2023-07-21 14:44:34 -05:00
Ed Page
a6267b77a7 docs: Update changelog 2023-07-21 14:44:09 -05:00
Ed Page
e82234162c
Merge pull request #5033 from epage/escape
fix(parser): Don't suggest -- as often
2023-07-21 14:43:03 -05:00