Ed Page
|
5b2912b63e
|
fix(complete): Improve completion debugging
|
2024-09-20 10:37:15 -05:00 |
|
Ed Page
|
257d7812b9
|
chore: Release
|
2024-09-17 16:12:36 -05:00 |
|
Ed Page
|
06c5f5f329
|
docs: Update changelog
|
2024-09-17 16:12:29 -05:00 |
|
Ed Page
|
a7a8f93d6b
|
fix(complete): Strip wrappers for running completer
|
2024-09-17 15:47:46 -05:00 |
|
Ed Page
|
b2c8e445aa
|
feat(complete): Allow user to override bin/completer
|
2024-09-17 15:43:53 -05:00 |
|
Ed Page
|
21c9892efe
|
chore: Release
|
2024-09-17 15:34:35 -05:00 |
|
Ed Page
|
0c8bceb3e9
|
docs: Update changelog
|
2024-09-17 15:34:27 -05:00 |
|
Ed Page
|
c92fca3a8f
|
docs(complete): Clarify CompleteEnv's Shell trait
|
2024-09-17 15:16:32 -05:00 |
|
Ed Page
|
5d7c16c60e
|
fix(complete): Adjust how IFS is passed to clap
No idea why using passing along `IFS` isn't workong on my machine (but is for tests).
Fixes #5730
|
2024-09-17 14:54:11 -05:00 |
|
Ed Page
|
df1efca035
|
chore: Release
|
2024-09-05 09:18:05 -05:00 |
|
Ed Page
|
d48bef65af
|
docs: Update changelog
|
2024-09-05 09:17:58 -05:00 |
|
Ed Page
|
6b7aa3d490
|
Merge pull request #5628 from mart-mihkel/complete_hyphen
Support `allow_hyphen_values` in native completions
|
2024-09-05 09:17:05 -05:00 |
|
mart-mihkel
|
57b6cb8e47
|
refactor(complete): Simplify engine::complete
|
2024-09-05 15:15:22 +03:00 |
|
mart-mihkel
|
fbec05e639
|
refactor(complete): Fix typo in hyhpen
|
2024-09-05 15:15:18 +03:00 |
|
mart-mihkel
|
b7cfbdcf96
|
feat(complete): Native support for hyphen values
|
2024-09-05 15:15:14 +03:00 |
|
mart-mihkel
|
1d97c293ba
|
test(complete): Test cases for allow_hyphen_values
|
2024-09-05 15:07:46 +03:00 |
|
Ed Page
|
64e3790461
|
chore: Release
|
2024-09-04 14:36:46 -05:00 |
|
Ed Page
|
1cf50c7754
|
docs: Update changelog
|
2024-09-04 14:36:38 -05:00 |
|
Ed Page
|
e2d336b95f
|
fix(complete): Put clap in chage of Fish ordering
|
2024-09-04 14:28:03 -05:00 |
|
Ed Page
|
059db0c139
|
docs(complete): Clarify what flags we're using
|
2024-09-04 14:26:44 -05:00 |
|
Ed Page
|
931d9acb71
|
refactor(complete): Make it easier to compare tests
|
2024-09-04 12:42:16 -05:00 |
|
Ed Page
|
5286385dac
|
test(complete): Verify space in completed value
|
2024-09-04 12:41:01 -05:00 |
|
Ed Page
|
c3e5d16183
|
test(complete): Verify prefix completions
|
2024-09-04 12:41:01 -05:00 |
|
Ed Page
|
a8c8268946
|
test(complete): Run completion tests in parallel
This leaves out bash's tests because we seem to be hittin race
conditions with them in CI when split.
|
2024-09-04 12:28:35 -05:00 |
|
Ed Page
|
0933080294
|
chore(complete): Update completest
|
2024-09-04 11:21:43 -05:00 |
|
Ed Page
|
68f924818d
|
chore: Update completest
|
2024-09-04 10:49:27 -05:00 |
|
Ed Page
|
72dda07a42
|
fix(complete)!: Remove CompleteCommand
This just has too many caveats to be worth maintaining
|
2024-08-28 21:29:12 -05:00 |
|
Ed Page
|
d51922c79e
|
test(complete): Use more snapshotting
|
2024-08-28 21:29:05 -05:00 |
|
Ed Page
|
8d64c4c624
|
chore: Release
|
2024-08-27 08:43:32 -05:00 |
|
Ed Page
|
bd8982251f
|
docs: Update changelog
|
2024-08-27 08:43:26 -05:00 |
|
hkalbasi
|
f4687b3224
|
chore: Bump shlex in clap_complete to 1.3.0
|
2024-08-27 10:44:23 +03:30 |
|
Ed Page
|
7916028a90
|
chore: Release
|
2024-08-22 12:56:47 -05:00 |
|
Ed Page
|
804498d3b1
|
docs: Update changelog
|
2024-08-22 12:56:40 -05:00 |
|
Ed Page
|
b04bf72436
|
fix(complete)!: Be consistent in value language
|
2024-08-22 12:29:48 -05:00 |
|
Ed Page
|
0e28259e55
|
chore: Release
|
2024-08-21 15:28:25 -05:00 |
|
Ed Page
|
e55c986309
|
docs: Update changelog
|
2024-08-21 15:28:16 -05:00 |
|
Ed Page
|
84252b7123
|
fix(complete): Allow completing '.'
|
2024-08-21 15:06:46 -05:00 |
|
Ed Page
|
eded64a13b
|
test(complete): Verify PathCompleter::dir
|
2024-08-21 15:04:57 -05:00 |
|
Ed Page
|
03d722625a
|
chore: Release
|
2024-08-21 14:37:02 -05:00 |
|
Ed Page
|
3df70fb2b6
|
docs: Update changelog
|
2024-08-21 14:36:53 -05:00 |
|
Ed Page
|
951762db57
|
feat(complete): Allow any OsString-compatible type to be a CompletionCandidate
|
2024-08-21 14:25:40 -05:00 |
|
Ed Page
|
bb6493e890
|
feat(complete): Offer - as a path option
|
2024-08-21 14:24:16 -05:00 |
|
Ed Page
|
27b348dbcb
|
refactor(complete): Simplify ArgValueCandidates code
|
2024-08-21 14:16:52 -05:00 |
|
Ed Page
|
49b8108f8c
|
feat(complete): Add PathCompleter
|
2024-08-21 14:11:52 -05:00 |
|
Ed Page
|
82a360aa54
|
feat(complete): Add ArgValueCompleter
|
2024-08-21 14:11:52 -05:00 |
|
Ed Page
|
47aedc6906
|
fix(complete): Ensure paths are sorted
|
2024-08-21 14:11:48 -05:00 |
|
Ed Page
|
431e2bc931
|
test(complete): Ensure ArgValueCandidates get filtered
|
2024-08-21 13:52:13 -05:00 |
|
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 |
|
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
|
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
|
b38538d7c4
|
fix(complete)!: Rename dynamic to engine
This serves as a more specific name.
|
2024-08-19 10:37:51 -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 |
|
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
|
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
|
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
|
b2c3126a4d
|
docs(complete): Specify the compatibility guarentees
|
2024-08-16 09:34:58 -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
|
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 |
|
Ed Page
|
caf8ee5acc
|
refactor(complete): Pull out common code
|
2024-08-15 14:29:42 -05:00 |
|
Ed Page
|
2cf4139b8b
|
fix(complete): Give ArgValueCompleter higher precedence over possible values
It is the more specific action, being specialized to completions and not
generally used for all of clap.
|
2024-08-15 14:27:05 -05:00 |
|
Ed Page
|
cedb1f01d1
|
chore: Release
|
2024-08-12 13:09:45 -05:00 |
|
Ed Page
|
c22a5100c2
|
docs(complete): Fix registration commands
|
2024-08-12 13:09:35 -05:00 |
|
Ed Page
|
050b6c5ca5
|
chore: Release
|
2024-08-12 12:02:15 -05:00 |
|
Ed Page
|
5e61bd4290
|
docs: Update changelog
|
2024-08-12 12:02:02 -05:00 |
|
Ed Page
|
6f880911bf
|
Merge pull request #5671 from epage/env
feat(complete): Env hook for dynamic completions
|
2024-08-12 11:54:33 -05:00 |
|
Ed Page
|
c402ec61ee
|
feat(complete): Env hook for dynamic completions
Fixes #3930
|
2024-08-12 10:53:24 -05:00 |
|
Ed Page
|
6288e1169d
|
test(complete): Specialize tests
|
2024-08-12 10:40:41 -05:00 |
|
Ed Page
|
84cfd92843
|
Merge pull request #5667 from a-kenji/fix-typo
Fix typo in dynamic completion doc comment
|
2024-08-12 08:38:57 -05:00 |
|
Ed Page
|
cddbb5689f
|
fix(complete): Correct version check
|
2024-08-12 08:29:11 -05:00 |
|
Ed Page
|
63740539d3
|
style: Order fn attributes
|
2024-08-12 08:26:42 -05:00 |
|
Ed Page
|
f75251f5ae
|
fix(complete)!: Rename shells to command
|
2024-08-12 08:12:21 -05:00 |
|
a-kenji
|
ef8dc8fe11
|
fix: Typo in dynamic completion doc comment
|
2024-08-12 14:12:17 +02:00 |
|
Ed Page
|
158e7161aa
|
fix(complete)!: Remove unused CommandCompleter trait method
|
2024-08-10 21:27:02 -05:00 |
|
Ed Page
|
b94fce3242
|
fix(complete)!: Put CompleteCommand behind unstable-command
Avoid the cost of the deps when not needed.
|
2024-08-10 20:41:01 -05:00 |
|
Ed Page
|
2b2b2be610
|
refactor(complete): Isolate all CommandCompleter knowledge
|
2024-08-10 20:34:20 -05:00 |
|
Ed Page
|
d064946c60
|
refactor(complete): Consolidate CommandCompleter's
|
2024-08-10 20:28:22 -05:00 |
|
Ed Page
|
d69e0dc777
|
fix(complete)!: Rename ShwllCompleter to CommandCompleter
This opens space for several completion strategies
|
2024-08-10 20:24:53 -05:00 |
|