跳至内容

Kops 命令行补全脚本 (fish shell)

kops completion fish

为 fish shell 生成自动补全脚本

概要

为 fish shell 生成自动补全脚本。

要在当前 shell 会话中加载补全脚本,请执行以下命令

kops completion fish | source

要在每个新会话中加载补全脚本,请执行以下命令(仅需执行一次)

kops completion fish > ~/.config/fish/completions/kops.fish

您需要启动一个新的 shell 才能使此设置生效。

kops completion fish [flags]

选项

  -h, --help              help for fish
      --no-descriptions   disable completion descriptions

从父命令继承的选项

      --config string   yaml config file (default is $HOME/.kops.yaml)
      --name string     Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable
      --state string    Location of state storage (kops 'config' file). Overrides KOPS_STATE_STORE environment variable
  -v, --v Level         number for the log level verbosity

另请参阅