Overview

cloudburn completion

Generate shell completion scripts for bash, zsh, and fish.


Synopsis

cloudburn completion <shell> [--no-descriptions]

Where <shell> is one of: bash, zsh, fish.

Description

Generates a shell completion script that enables tab completion for CloudBurn commands, flags, and arguments. The script is printed to stdout — pipe or source it according to your shell's conventions.

Flags

FlagTypeDefaultDescription
--no-descriptionsbooleanfalseOmit completion descriptions. Useful if your shell renders them poorly.

bash

Load completions in your current shell session:

source <(cloudburn completion bash)

To persist across sessions, add to ~/.bashrc:

echo 'source <(cloudburn completion bash)' >> ~/.bashrc

zsh

zsh completions require compinit. If it's not already set up, add these lines to ~/.zshrc before sourcing the completion script:

autoload -U compinit
compinit

Load completions in your current session:

source <(cloudburn completion zsh)

To persist across sessions, add to ~/.zshrc:

echo 'source <(cloudburn completion zsh)' >> ~/.zshrc

fish

Load completions in your current session:

cloudburn completion fish | source

To persist across sessions, add to ~/.config/fish/config.fish:

cloudburn completion fish | source

Or write to the fish completions directory:

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

What's next

InstallationInstall the CloudBurn CLI
cloudburn scanStart scanning IaC files
ConfigurationSet up a .cloudburn.yml config file