completion

Generates a completion script for the specified shell and writes it to stdout.

[SHELL]

Optional

If not specified, the script will be generated for the shell detected under via $SHELL variable.

Possible values: bash, elvish, fish, powershell, zsh

-h, --help

Print help.