Skip to content

Commit 0140c46

Browse files
committed
...
1 parent b9e8ba9 commit 0140c46

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Status: published
2+
Date: 2025-11-16 16:02:18
3+
Modified: 2025-11-16 16:02:18
4+
Author: Benjamin Du
5+
Slug: generating-completions-script-using-crazy-complete
6+
Title: Generating Completions Script Using Crazy-Complete
7+
Category: Computer Science
8+
Tags: Computer Science, programming, shell, bash, zsh, fish, completion, generator, generating
9+
10+
**Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!**
11+
12+
There are many tools for generating completion scripts for shell languages (bash, zsh, fish, etc),
13+
[crazy-complete](https://github.com/crazy-complete/crazy-complete)
14+
is one of the best among such tools.
15+
16+
```
17+
ldc -h | crazy-complete --input-type=help yaml /dev/stdin > ldc.yaml
18+
crazy-complete --input-type=yaml fish ldc.yaml > ldc.fish
19+
```
20+
21+
## References
22+
23+
- [crazy-complete @ GitHub](https://github.com/crazy-complete/crazy-complete)
24+

0 commit comments

Comments
 (0)