CLI Commands

cnspec completion

Generate the autocompletion script for cnspec for the specified shell.

Generate the autocompletion script for cnspec for the specified shell. bash, fish, powershell, and zsh are each their own subcommand, not an argument to completion. See each subcommand's help for details on how to use the generated script.

cnspec completion [bash|fish|powershell|zsh]

Options

  -h, --help   help for completion

Options inherited from parent commands

      --api-proxy string        Set the proxy for communications with Mondoo Platform API
      --auto-update             Enable automatic provider installation and update (default true)
      --config string           Set config file path (default $HOME/.config/mondoo/mondoo.yml)
      --log-level string        Set the log level: error, warn, info, debug, trace (default "info")
      --logging-config string   Path to a logging configuration file (YAML or JSON) that selects the log writer, level, and writer-specific options
  -v, --verbose                 Enable verbose output

SEE ALSO

On this page