mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-07-30 21:57:44 +00:00
add completion for toipe
(#508)
This commit is contained in:
parent
8a70776fe8
commit
a7bde3acf2
1 changed files with 20 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue