Skip to main content

cloudquery completion bash

Generate the autocompletion script for bash


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 <(cloudquery completion bash)

To load completions for every new session, execute once:


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


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

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

cloudquery completion bash


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

Options inherited from parent commands

      --config string               path to configuration file. can be generated with 'init {provider}' command (env: CQ_CONFIG_PATH) (default "./cloudquery.yml")
--data-dir string set persistent data directory (env: CQ_DATA_DIR) (default "./.cq")
--disable-log-color disable log colors
--dsn string database connection string (env: CQ_DSN) (example: 'postgres://postgres:[email protected]:5432/postgres')
--enable-console-log enable console logging
--enable-file-logging enable file logging (default true)
--encode-json enable JSON log format, instead of key/value
--force-drop when upgrading schema, force dropping of any dependent views
--log-directory string set output directory for logs (default ".")
--log-file string set output filename for logs (default "cloudquery.log")
--max-age int set max age in days to keep a logfile (default 3)
--max-backups int set max number of rolled files to keep (default 3)
--max-size int set max size in MB of the logfile before it's rolled (default 30)
--no-provider-update disable checking for new provider versions
--no-telemetry disable telemetry collection
--no-verify disable plugins verification
--reattach-providers string path to reattach unmanaged plugins, mostly used for testing purposes (env: CQ_REATTACH_PROVIDERS)
--skip-build-tables enable skipping building tables. Should only be set if tables already exist
-v, --verbose enable verbose logging