clap/clap_complete_nushell/tests/snapshots/value_hint.nu

28 lines
536 B
Text
Raw Normal View History

2022-10-31 12:11:01 +00:00
module completions {
def "nu-complete my-app choice" [] {
2022-10-31 12:11:01 +00:00
[ "bash" "fish" "zsh" ]
}
export extern my-app [
--choice: string@"nu-complete my-app choice"
2022-10-31 12:11:01 +00:00
--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
2023-05-23 13:50:43 +00:00
--help(-h) # Print help
2022-10-31 12:11:01 +00:00
]
}
export use completions *