skrybe completion
skrybe completion <shell>
Prints a tab-completion script for bash, zsh or fish. Any other shell is
a usage error (exit code 2).
eval "$(skrybe completion bash)" # add to ~/.bashrc
eval "$(skrybe completion zsh)" # add to ~/.zshrc
skrybe completion fish > ~/.config/fish/completions/skrybe.fish
The script is generated from the CLI's own command tree, so it matches the
installed version. It completes subcommands, their aliases (subs, ares,
ls, rm, ...), long flags, the global flags, and the values of
--output (table, json, text) and completion (bash, zsh, fish).
It does not complete IDs.
The zsh script runs compinit itself if it has not been run yet.
After upgrading the CLI, open a new shell (bash, zsh) or regenerate the file (fish) to pick up new commands.