跳至内容

Kops 命令补全 PowerShell

kops completion powershell

生成 PowerShell 的自动补全脚本

摘要

生成 PowerShell 的自动补全脚本。

要加载当前 shell 会话中的补全

kops completion powershell | Out-String | Invoke-Expression

要加载每个新会话的补全,将上述命令的输出添加到 PowerShell 配置文件中。

kops completion powershell [flags]

选项

  -h, --help              help for powershell
      --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

参见