Commit graph

7379 commits

Author SHA1 Message Date
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
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
Ed Page
0137a8be65 chore(complete): Update completest 2023-07-21 14:42:49 -05:00
Ed Page
6590a855ee fix(parser): Don't suggest -- as often
See #2766
2023-07-21 14:27:15 -05:00
Ed Page
76b891db41 test(parser): Reproduce suggestion 2023-07-21 14:21:45 -05:00
Ed Page
55923ca947 docs(cookbook): Correct a typo 2023-07-21 10:54:08 -05:00
Ed Page
9cc4fe8cc2
Merge pull request #5026 from epage/test
test(complete): First end-to-end test
2023-07-21 10:36:08 -05:00
Ed Page
51e37af365 test(complete): Add basic tests for all shells 2023-07-20 20:08:58 -05:00
Ed Page
34a7973e53 refactor(complete): Assert on home change 2023-07-20 20:06:28 -05:00
Ed Page
1d0fa2c6ce refactor(complete): Make test code reusable 2023-07-20 20:06:08 -05:00