clap/tests/snapshots/feature_sample.nu

22 lines
427 B
Text
Raw Normal View History

2022-10-22 15:27:04 +00:00
module completions {
# Tests completions
export extern my-app [
file?: string # some input file
--config(-c) # some config file
2022-10-31 10:32:40 +00:00
--conf # some config file
-C # some config file
2022-10-22 15:27:04 +00:00
choice?: string
--version(-V) # Print version information
]
# tests things
export extern "my-app test" [
--case: string # the case to test
--version(-V) # Print version information
]
}
use completions *