Skip to content

Commit a7bde3a

Browse files
authored
add completion for toipe (nushell#508)
1 parent 8a70776 commit a7bde3a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
def "nu-complete toipe wordlists" [] {[
2+
top250
3+
top500
4+
top1000
5+
top2500
6+
top5000
7+
top10000
8+
top25000
9+
commonly-misspelled
10+
os
11+
]}
12+
13+
# external completion for toipe 0.4.1
14+
export extern toipe [
15+
--file (-f): path # Path to custom word list file. Providing this will override `-w`/`--wordlist`.
16+
--help (-h) # Print help information
17+
--num-words (-n): int # Number of words to show on each test [default: 30]
18+
--version (-V) # Print version information
19+
--wordlist (-w): string@"nu-complete toipe wordlists" # Word list name [default: top250]
20+
]

0 commit comments

Comments
 (0)