clap/clap_complete_nushell/tests/snapshots/quoting.nu

79 lines
2 KiB
Text
Raw Normal View History

2022-11-02 04:00:19 +00:00
module completions {
export extern my-app [
2022-11-02 10:40:20 +00:00
--single-quotes # Can be 'always', 'auto', or 'never'
--double-quotes # Can be "always", "auto", or "never"
--backticks # For more information see `echo test`
--backslash # Avoid '\n'
--brackets # List packages [filter]
--expansions # Execute the shell command with $SHELL
2023-05-23 13:50:43 +00:00
--help(-h) # Print help
2023-01-24 08:26:54 +00:00
--version(-V) # Print version
2022-11-02 04:00:19 +00:00
]
# Can be 'always', 'auto', or 'never'
export extern "my-app cmd-single-quotes" [
2023-05-23 13:50:43 +00:00
--help(-h) # Print help
2022-11-02 04:00:19 +00:00
]
# Can be "always", "auto", or "never"
export extern "my-app cmd-double-quotes" [
2023-05-23 13:50:43 +00:00
--help(-h) # Print help
2022-11-02 04:00:19 +00:00
]
# For more information see `echo test`
export extern "my-app cmd-backticks" [
2023-05-23 13:50:43 +00:00
--help(-h) # Print help
2022-11-02 04:00:19 +00:00
]
# Avoid '\n'
export extern "my-app cmd-backslash" [
2023-05-23 13:50:43 +00:00
--help(-h) # Print help
2022-11-02 04:00:19 +00:00
]
# List packages [filter]
export extern "my-app cmd-brackets" [
2023-05-23 13:50:43 +00:00
--help(-h) # Print help
2022-11-02 04:00:19 +00:00
]
# Execute the shell command with $SHELL
export extern "my-app cmd-expansions" [
2023-05-23 13:50:43 +00:00
--help(-h) # Print help
]
# Print this message or the help of the given subcommand(s)
export extern "my-app help" [
]
# Can be 'always', 'auto', or 'never'
export extern "my-app help cmd-single-quotes" [
]
# Can be "always", "auto", or "never"
export extern "my-app help cmd-double-quotes" [
]
# For more information see `echo test`
export extern "my-app help cmd-backticks" [
]
# Avoid '\n'
export extern "my-app help cmd-backslash" [
]
# List packages [filter]
export extern "my-app help cmd-brackets" [
]
# Execute the shell command with $SHELL
export extern "my-app help cmd-expansions" [
]
# Print this message or the help of the given subcommand(s)
export extern "my-app help help" [
2022-11-02 04:00:19 +00:00
]
}
export use completions *