Commit graph

7405 commits

Author SHA1 Message Date
Ed Page
6720240577 feat(parser): Report source to value parsers 2023-08-18 14:28:15 -05:00
Ed Page
b55ebc9f7f test(parser): Show bad Unknown bug on flags 2023-08-18 14:19:54 -05:00
Ed Page
df337de701 chore: Release 2023-08-17 08:59:45 -05:00
Ed Page
fb8a12a739 docs: Update changelog 2023-08-17 08:59:33 -05:00
Ed Page
b87ca2ff2c
Merge pull request #5075 from epage/err
feat(builder): Allow injecting known unknowns
2023-08-17 08:58:12 -05:00
Ed Page
9f65eb0c9a refactor(error): Give caller control over suggestion 2023-08-16 14:54:45 -05:00
Ed Page
8413c155d2 feat(builder): Allow injecting known unknowns
Fixes #4706
2023-08-16 14:50:08 -05:00
Ed Page
063b153628 chore: Update from '_rust/main' template 2023-08-11 16:14:18 -05:00
Ed Page
5286387294 chore: Update pre-commit hooks 2023-08-11 16:04:07 -05:00
Ed Page
ba76b8bd91 chore(ci): Ensure latest deps are good 2023-08-11 13:29:06 -05:00
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
67eb1d9e3d chore(ci): Ensure lockfile isn't stale 2023-08-07 16:16:17 -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
d6075a44bf chore: Expand update window so more likely to be hit 2023-08-02 11:11:52 -05: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