add completion for toipe (#508)

This commit is contained in:
Antoine Stevan 2023-05-24 20:02:00 +02:00 committed by GitHub
parent 8a70776fe8
commit a7bde3acf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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]
]