Commit graph

8112 commits

Author SHA1 Message Date
Ed Page
9bef07708d test(complete): Simplify ArgValueCandidates test 2024-08-21 13:51:25 -05:00
Ed Page
5f1eb968b4 test(complete): Split ValueHint testing from value completion 2024-08-21 13:45:13 -05:00
Ed Page
d7b8aafdc3 refactor(complete): Dont duplicate complete_path 2024-08-21 13:32:47 -05:00
Ed Page
218ee5d9dc refactor(complete): Move complete_path to long term location
I'd like to remove `ValueHint` eventually
2024-08-21 13:19:39 -05:00
Ed Page
78157e6ce6 fix(complete): Preserve absolute paths 2024-08-21 11:58:11 -05:00
Ed Page
ebb1302e90 refactor(complete): Remove no-op help calls 2024-08-21 11:29:08 -05:00
Ed Page
2f07f3cc61 refactor(complete): Remove manual path splitting 2024-08-21 11:27:55 -05:00
Ed Page
87647d268c
Merge pull request #5689 from a-kenji/fix-typo
fix: Typos in documentation to `CompleteEnv`
2024-08-20 15:19:07 -05:00
a-kenji
4fbbc3a6ca fix: Typos in documentation to CompleteEnv 2024-08-20 22:12:16 +02:00
Ed Page
5034cabe54 chore: Release 2024-08-20 08:59:56 -05:00
Ed Page
b5b690c459 docs: Update changelog 2024-08-20 08:59:48 -05:00
Ed Page
abba1965be
Merge pull request #5688 from epage/rename
fix(complete)!: Rename Custom completer
2024-08-20 08:58:49 -05:00
Ed Page
6ddd5d4e11 fix(complete)!: Rename ArgValueCompleter to ArgValueCandidates 2024-08-20 08:49:22 -05:00
Ed Page
71c5e27f8b fix(complete)!: Rename CustomCompleter to ValueCandidates 2024-08-20 08:48:19 -05:00
Ed Page
108907385c chore: Release 2024-08-19 10:47:04 -05:00
Ed Page
c9b8c85f09 docs: Update changelog 2024-08-19 10:46:56 -05:00
Ed Page
8b3de18a8d
Merge pull request #5685 from epage/engine
fix(complete)!: Rename dynamic to engine
2024-08-19 10:45:55 -05:00
Ed Page
b38538d7c4 fix(complete)!: Rename dynamic to engine
This serves as a more specific name.
2024-08-19 10:37:51 -05:00
Ed Page
232af62f7d
Merge pull request #5684 from epage/endless
fix(complete): Don't cause endless completions for bash/zsh
2024-08-19 10:32:35 -05:00
Ed Page
0209a79031 fix(complete): Don't cause endless completions for bash/zsh
Reported on #5677
2024-08-19 10:26:16 -05:00
Ed Page
d81158599f chore: Release 2024-08-16 16:16:50 -05:00
Ed Page
ab948b3556 docs: Update changelog 2024-08-16 16:16:41 -05:00
Ed Page
82e599e91d
Merge pull request #5602 from shannmu/delimiter_values
Support delimited values in native completions
2024-08-16 16:14:53 -05:00
shanmu
59bf26dd56 feat(clap_complete): Support delimiter values in native completions 2024-08-16 15:54:01 -05:00
shannmu
ccecab394b test(clap_complete): Add test cases for delimiter_values support 2024-08-16 15:54:01 -05:00
Ed Page
a3a476407b docs(derive): Specify Parser::update_from semantics 2024-08-16 14:08:26 -05:00
Ed Page
df165a2da4 docs(derive): Flatten isn't just for update 2024-08-16 13:54:04 -05:00
Ed Page
5488bcfa30 docs(derive): Connect more dots for Args/Subcommand 2024-08-16 13:15:20 -05:00
Ed Page
6013ad4f67 chore: Release 2024-08-16 11:01:46 -05:00
Ed Page
f98e3ee215 docs: Update changelog 2024-08-16 11:01:38 -05:00
Ed Page
addec17e9d
Merge pull request #5681 from epage/static
fix(complete)!: Shuffle API up for stabilization
2024-08-16 10:54:55 -05:00
Ed Page
3c69aaa312 docs(complete): Add stdout warning to env 2024-08-16 10:42:00 -05:00
Ed Page
e46263a048 docs(complete): Redistribute dynamic's documentation 2024-08-16 10:40:46 -05:00
Ed Page
de723aaf8a fix(complete)!: Flatten in prep for stabilization 2024-08-16 10:35:07 -05:00
Ed Page
6727c1537b fix(complete): Section off existing completions 2024-08-16 10:26:50 -05:00
Ed Page
6842ed96da refactor(complete): Remove low-value w macro 2024-08-16 10:10:26 -05:00
Ed Page
17d6d24232
Merge pull request #5680 from epage/unstable
docs(complete): Specify the compatibility guarentees
2024-08-16 09:53:35 -05:00
Ed Page
23fb0568a8
Merge pull request #5679 from epage/api
feat(complete): Make `Shells` more flexible
2024-08-16 09:46:45 -05:00
Ed Page
f969bec2c0 feat(complete): Add Shells::iter
Didn't add an `IntoIterator` because I didn't want to bother writing an
opaque iterator type
2024-08-16 09:39:58 -05:00
Ed Page
661ccc2d30 feat(complete): Make Shells::builtins const 2024-08-16 09:39:58 -05:00
Ed Page
b2c3126a4d docs(complete): Specify the compatibility guarentees 2024-08-16 09:34:58 -05:00
Ed Page
97deaf4194 chore: Release 2024-08-15 16:42:20 -05:00
Ed Page
bfa8d01d2a docs: Update changelog 2024-08-15 16:42:13 -05:00
Ed Page
679fb1d2b3
Merge pull request #5675 from Noratrieb/patch-1
feat: Explicitly list items to re-export from derive
2024-08-15 16:41:05 -05:00
nora
9b0aa0924b feat: Explicitly list items to re-export from derive
This allows rustc to give a nice note about activating
the derive feature when it has not been activated.
2024-08-15 22:40:40 +02:00
Ed Page
d5a982fc35
Merge pull request #5676 from epage/fix
refactor(complete): Misc code cleanup for dynamic completions
2024-08-15 15:16:21 -05:00
Ed Page
82b481e8e7 refactor(complete): Simplify state tracking 2024-08-15 15:07:11 -05:00
Ed Page
7b12c58111 refactor(complete): Simplify num_args lookup 2024-08-15 15:06:19 -05:00
Ed Page
077d714162 refactor(complete): Leverage ArgAction::takes_values 2024-08-15 14:51:47 -05:00
Ed Page
afc7bebc66 refactor(complete): Track shorts in a String, not OsString 2024-08-15 14:46:50 -05:00