CLI · 06

cosmo completion

Print a shell-completion script for bash, zsh, or fish. eval it to enable completion for the current shell, or redirect it into your shell’s completion directory to install it permanently.

# Load completions in the current shell:
$ eval "$(cosmo completion bash)"
$ eval "$(cosmo completion zsh)"

# Or install permanently:
$ cosmo completion bash > ~/.local/share/bash-completion/completions/cosmo
$ cosmo completion zsh > ~/.zfunc/_cosmo
$ cosmo completion fish > ~/.config/fish/completions/cosmo.fish

Have a feature in mind?

The protocol, SDKs, and CLI are still pre-1.0. If something here is missing, ambiguous, or wrong - open an issue and propose a change. Every breaking change is debated in DECISIONS.md first.