Version 2.4

kf completion

Name

kf completion - Generate auto-completion for the Kf CLI.

Synopsis

kf completion bash|zsh [flags]

Description

This command is used to create bash/zsh auto-completion for the Kf CLI.

Examples

# Generate completion for bash.
eval "$(kf completion bash)"
# Generate completion for zsh.
eval "$(kf completion zsh)"

Flags

-h, --help

help for completion

Inherited flags

These flags are inherited from parent commands.

--as=string

Username to impersonate for the operation.

--as-group=strings

Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.

--config=string

Path to the Kf config file to use for CLI requests.

--kubeconfig=string

Path to the kubeconfig file to use for CLI requests.

--log-http

Log HTTP requests to standard error.

--space=string

Space to run the command against. This flag overrides the currently targeted Space.