mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 07:12:32 +00:00
26 lines
486 B
Text
26 lines
486 B
Text
module completions {
|
|
|
|
def "nu-complete my-app choice" [] {
|
|
[ "bash" "fish" "zsh" ]
|
|
}
|
|
|
|
export extern my-app [
|
|
--choice: string@"nu-complete my-app choice"
|
|
--unknown: string
|
|
--other: string
|
|
--path(-p): string
|
|
--file(-f): string
|
|
--dir(-d): string
|
|
--exe(-e): string
|
|
--cmd-name: string
|
|
--cmd(-c): string
|
|
command_with_args?: string
|
|
--user(-u): string
|
|
--host(-H): string
|
|
--url: string
|
|
--email: string
|
|
]
|
|
|
|
}
|
|
|
|
use completions *
|