Print a shell completion script
Print a completion script for a shell to stdout.
bash (needs the bash-completion package):
source <(rp completion bash) # this session
rp completion bash > /etc/bash_completion.d/rp # all sessions (Linux)
zsh:
rp completion zsh > "${fpath[1]}/_rp" # then start a new shell
fish:
rp completion fish > ~/.config/fish/completions/rp.fish
powershell:
rp completion powershell | Out-String | Invoke-Expression
rp completion <bash|zsh|fish|powershell>
Options inherited from parent commands
--api-url string Panel API URL of the profile, overrides the stored value
--ca-file string PEM file with extra trusted CA certificates
--debug Print debug output with secrets redacted
--hostname string Repsy host to use instead of the current profile
--insecure Do not verify TLS certificates (unsafe; plain http is chosen with the URL, not with this flag)
--jq string Filter JSON output with a jq expression (implies --output json)
--no-color Disable colored output
--no-input Never prompt; fail when input is needed
--output table|json|yaml Output format: table, json or yaml (default table; json when --jq is given)
--owner string Owner segment of Cloud protocol URLs; --owner= means none
--registry-url string Protocol host URL of the profile, overrides the stored value
--type os|cloud Product of the host, overrides detection
--web-url string Panel UI URL of the profile (where /cli/auth lives), overrides the stored value
--yes Answer yes to confirmation prompts
See also
- rp - Command line client for Repsy OS and Repsy Cloud
Found a problem with this page?
Report a problem