Usage: example-cli [OPTIONS] COMMAND [ARGS]...
Simple CLI example
Options:
--global-example TEXT A global option
--option-one TEXT First option
--option-two TEXT Second option
-V, --version Show the version and exit.
-h, --help Show this message and exit.
Commands:
abort Generates an exception
completion Shell completion
expanded-path Expand option path
help Print help
readme (doc) Generates a README.rst
subgroup (subgroup-alias) A sub group
version Print version
Usage: example-cli abort [OPTIONS]
Generates an exception on purpose (test)
Options:
-h, --help Show this message and exit.
Usage: example-cli completion [OPTIONS] COMMAND [ARGS]...
Shell completion subcommand
Options:
-h, --help Show this message and exit.
Commands:
help Print help
install Install the click-completion-command completion
show (generate,print) Show the click-completion-command completion code
Usage: example-cli completion install [OPTIONS] [[bash|fish|zsh|powershell]] [PATH]
Auto install shell completion code in your rc file
Options:
-i, --case-insensitive Case insensitive completion
--append / --overwrite Append the completion code to the file
-h, --help Show this message and exit.
Usage: example-cli completion show [OPTIONS] [[bash|fish|zsh|powershell]]
Generate shell code to enable completion
Options:
-i, --case-insensitive Case insensitive completion
-h, --help Show this message and exit.
Usage: example-cli expanded-path [OPTIONS]
Command with expanded path option
Options:
--file PATH File path which expands
-h, --help Show this message and exit.
Usage: example-cli help [OPTIONS]
Print help
Options:
-h, --help Show this message and exit.
Usage: example-cli readme [OPTIONS]
Uses gen_doc click-skeleton helper to generates a complete readme
Options:
--output [rst|markdown] README output format [default: rst]
-h, --help Show this message and exit.
Usage: example-cli subgroup [OPTIONS] COMMAND [ARGS]...
I am a subgroup!
Options:
-h, --help Show this message and exit.
Commands:
help Print help
subcommand A sub command
Usage: example-cli subgroup subcommand [OPTIONS]
I am a subcommand!
Options:
--myoptions TEXT A splitted option
-h, --help Show this message and exit.
Usage: example-cli version [OPTIONS]
Print version, equivalent to -V and --version
Options:
-h, --help Show this message and exit.