clap/tests/snapshots/aliases.nu

18 lines
439 B
Text
Raw Normal View History

2022-10-31 10:32:40 +00:00
module completions {
# testing nushell completions
export extern my-app [
2022-11-02 10:40:20 +00:00
--flag(-f) # cmd flag
--flg # cmd flag
-F # cmd flag
--option(-o): string # cmd option
--opt: string # cmd option
-O: string # cmd option
2022-10-31 10:32:40 +00:00
positional?: string
2022-11-02 10:40:20 +00:00
--version(-V) # Print version information
2022-10-31 10:32:40 +00:00
]
}
use completions *