mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-09-11 13:45:56 +03:00
add completion for toipe
(#508)
This commit is contained in:
parent
8a70776fe8
commit
a7bde3acf2
20
custom-completions/toipe/toipe-completions.nu
Normal file
20
custom-completions/toipe/toipe-completions.nu
Normal file
@ -0,0 +1,20 @@
|
||||
def "nu-complete toipe wordlists" [] {[
|
||||
top250
|
||||
top500
|
||||
top1000
|
||||
top2500
|
||||
top5000
|
||||
top10000
|
||||
top25000
|
||||
commonly-misspelled
|
||||
os
|
||||
]}
|
||||
|
||||
# external completion for toipe 0.4.1
|
||||
export extern toipe [
|
||||
--file (-f): path # Path to custom word list file. Providing this will override `-w`/`--wordlist`.
|
||||
--help (-h) # Print help information
|
||||
--num-words (-n): int # Number of words to show on each test [default: 30]
|
||||
--version (-V) # Print version information
|
||||
--wordlist (-w): string@"nu-complete toipe wordlists" # Word list name [default: top250]
|
||||
]
|
Loading…
Reference in New Issue
Block a user