clap/clap_complete_nushell/tests/snapshots/basic.nu
Alexis (Poliorcetics) Bourget e782775229 fix(complete): Handle newlines in command/arg descriptions
Found while trying to add Nushell completions to
[`jj`](https://github.com/martinvonz/jj).
2024-02-16 16:17:22 -06:00

30 lines
544 B
Text

module completions {
export extern my-app [
-c
-v
--help(-h) # Print help
]
# Subcommand with a second line
export extern "my-app test" [
-d
-c
--help(-h) # Print help
]
# Print this message or the help of the given subcommand(s)
export extern "my-app help" [
]
# Subcommand with a second line
export extern "my-app help test" [
]
# Print this message or the help of the given subcommand(s)
export extern "my-app help help" [
]
}
export use completions *