Skip to main content

lacework completion bash

Generate the autocompletion script for bash

Synopsis

Generate the autocompletion script for the bash shell.

This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager.

To load completions in your current shell session:

source <(lacework completion bash)

To load completions for every new session, execute once:

Linux:

lacework completion bash > /etc/bash_completion.d/lacework

macOS:

lacework completion bash > $(brew --prefix)/etc/bash_completion.d/lacework

You will need to start a new shell for this setup to take effect.

lacework completion bash

Options

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

Options inherited from parent commands

  -a, --account string      account subdomain of URL (i.e. <ACCOUNT>.lacework.net)
-k, --api_key string access key id
-s, --api_secret string secret access key
--api_token string access token (replaces the use of api_key and api_secret)
--debug turn on debug logging
--json switch commands output from human-readable to json format
--nocache turn off caching
--nocolor turn off colors
--noninteractive turn off interactive mode (disable spinners, prompts, etc.)
--organization access organization level data sets (org admins only)
-p, --profile string switch between profiles configured at ~/.lacework.toml
--subaccount string sub-account name inside your organization (org admins only)

SEE ALSO