celesto completion sets up tab completion for the celesto CLI. Once installed, your shell can complete subcommands, options, and the names of your existing sandboxes as you type — so celesto sandbox ssh <Tab> offers the sandboxes you actually have.
Supported shells are bash, zsh, and fish.
Synopsis
Arguments
string
required
Which shell to generate the completion script for. One of
bash, zsh, or fish.Options
flag
Install the completion script and wire it into your shell’s startup files. Without this flag, the script is printed to stdout so you can source it yourself.
One-shot install
The quickest path is to let Celesto install completion for you:--install does per shell:
- bash and zsh: write the completion script to
~/.smolvm/completions/and add a single marker-taggedsourceline to your startup file (~/.bashrc, or~/.bash_profileon macOS, or$ZDOTDIR/.zshrc). Re-running the command refreshes the script without duplicating the line. - fish: write the autoloaded completion file into
~/.config/fish/completions/celesto.fish(honoringXDG_CONFIG_HOME). Fish picks it up automatically — no startup-file edit is needed.
celesto prints a plain-English error naming the manual celesto completion <shell> fallback below.
Manual setup
Prefer to wire completion up yourself? Run the command without--install to print the script, then load it your own way:
Related commands
celesto sandbox list- See the sandbox names that completion will suggest- CLI overview - Full list of commands completion covers
