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
Ed Page
2d8138a471
Merge pull request #5666 from epage/dyn
...
fix(complete)!: Remove unused CommandCompleter trait method
2024-08-10 21:34:45 -05:00
Ed Page
158e7161aa
fix(complete)!: Remove unused CommandCompleter trait method
2024-08-10 21:27:02 -05:00
Ed Page
2633817b19
Merge pull request #5665 from epage/cmd
...
fix(complete)!: Put CompleteCommand behind unstable-command
2024-08-10 20:58:46 -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
Ed Page
02a2855058
Merge pull request #5664 from epage/ps
...
fix(complete)!: Dont assume powershell on Windows
2024-08-10 20:14:40 -05:00
Ed Page
775688e7d1
fix(complete)!: Dont assume powershell on Windows
...
We have issues open for other Windows shells, so this seems like a bad
idea.
2024-08-10 20:07:41 -05:00
Ed Page
dcdfda7a1b
Merge pull request #5663 from epage/dyn
...
fix(complete)!: Error, rather than default, on unknown shell
2024-08-10 20:02:08 -05:00
Ed Page
0d7cb9eeec
fix(complete)!: Error, rather than default, on unknown shell
2024-08-10 19:54:49 -05:00
Ed Page
93e050b0b7
Merge pull request #5662 from epage/register
...
fix(complete)!: Adjust built-in completion CLI
2024-08-10 19:49:53 -05:00
Ed Page
64bf287e68
fix(complete)!: Switch --shell
to a positional
...
This matches how I've seen it done elsewhere
and removes extra boilerplate
2024-08-10 19:38:59 -05:00
Ed Page
c9df58bcf7
fix(complete)!: Remove --register
...
Our focus is on encouraging people to generate this on shell load so its
more "auto-updating" as programs are updated.
Having a flag for saving to a file is counter to that goal.
2024-08-10 19:33:49 -05:00
Ed Page
ce56785427
Merge pull request #5661 from epage/sort
...
fix(complete): Ensure bash does not sort, we do
2024-08-10 19:30:47 -05:00
Ed Page
3ec980e7ad
Merge pull request #5659 from epage/e
...
refactor(complete): Organize around completion UI
2024-08-10 19:23:35 -05:00
Ed Page
873824773b
Merge pull request #5658 from epage/snap
...
test(complete): Normalize snapshot format
2024-08-10 19:02:00 -05:00
Ed Page
8cb0e7fdaf
test(complete): Normalize snapshot format
2024-08-10 18:37:01 -05:00
Ed Page
34c86159a9
fix(complete): Ensure bash does not sort, we do
2024-08-10 18:31:30 -05:00
Ed Page
10607966bd
refactor(complete): Organize around completion UI
2024-08-10 15:49:52 -05:00
Ed Page
e3188215ca
chore: Release
2024-08-09 19:30:46 -05:00
Ed Page
79bbdb78c8
docs: Update changelog
2024-08-09 19:30:37 -05:00
Ed Page
c8cff2f123
fix(complete): Ensure new-enough clap is used
2024-08-09 19:26:19 -05:00
Ed Page
4094435c88
chore: Release
2024-08-09 19:24:38 -05:00
Ed Page
36114c35a5
docs: Update changelog
2024-08-09 19:24:19 -05:00
Ed Page
918cfed43d
Merge pull request #5610 from Mixu78/powershell_hyphens
...
Add missing option hyphens to generated PowerShell completion scripts
2024-08-09 19:22:30 -05:00
Ed Page
c55f642ac8
Merge pull request #5648 from epage/cli
...
feat(complete): Make registration args optional
2024-08-09 16:24:28 -05:00
Ed Page
219a1915e9
fix(complete): Improve help output
2024-08-09 16:17:44 -05:00
Ed Page
734cac730c
feat(complete): Make '--register' optional
2024-08-09 16:16:15 -05:00
Ed Page
fa4ccec694
feat(complete): Make '--shell' optional
2024-08-09 16:10:37 -05:00
Ed Page
efdcad16e9
Merge pull request #5647 from epage/infer
...
feat(complete): Infer shell for dynamic completions
2024-08-09 16:06:31 -05:00
Ed Page
e65e46356d
docs(complete): Have dynamic Shell match static Shell
2024-08-09 15:59:59 -05:00
Ed Page
8a1f9b3c47
Merge pull request #5646 from epage/powershell
...
feat(clap_complete): Add support for Powershell
2024-08-09 15:55:58 -05:00
shannmu
f9a87bf1bf
feat(clap_complete): Add support for Powershell
2024-08-09 15:48:20 -05:00
Ed Page
7fa26589df
feat(complete): Infer shell for dynamic completions
2024-08-09 15:44:32 -05:00
Ed Page
7916e79a58
Merge pull request #5645 from epage/complete
...
docs(complete): Clarify CompletionCandidate
2024-08-09 15:36:39 -05:00
Ed Page
60597130cc
Merge pull request #5644 from epage/complete
...
doc(complete): More polish
2024-08-09 15:23:55 -05:00
Ed Page
ad48d3b2a9
docs(complete): Clarify CompletionCandidate
2024-08-09 15:21:06 -05:00
Ed Page
fb243a8801
doc(complete): Show easier access to CompleteCommand
2024-08-09 15:14:33 -05:00
Ed Page
6d45f41415
docs(complete): Clarify dynamic's support for ValueHint
2024-08-09 15:14:33 -05:00
Ed Page
5f322e481a
docs(complete): Tell users how to customize
2024-08-09 15:11:55 -05:00
Ed Page
b4625620fd
fix(complete): Make it easier to access clap integration
2024-08-09 15:09:40 -05:00
Ed Page
3afcad9d74
Merge pull request #5643 from epage/complete
...
docs(complete): Expand dynamic docs
2024-08-09 15:05:45 -05:00
Ed Page
c2765a4e85
docs(complete): Expand dynamic docs
2024-08-09 14:56:58 -05:00
Ed Page
f374830df4
feat(complete): Add CompleteArgs::complete
2024-08-09 14:31:57 -05:00
Ed Page
f807acef6d
refactor(complete): Move impl next to type
2024-08-09 14:30:47 -05:00
Ed Page
b1e5bc7be5
Merge pull request #5642 from epage/api
...
fix(complete)!: Audit the API
2024-08-09 14:16:56 -05:00
Ed Page
38816ddb33
fix(complete)!: Clarify Completer is a ShellCompleter
2024-08-09 14:03:02 -05:00