Shell completion ⌨️
spoo now has rich tab-completion — and on Homebrew it's wired up automatically.
Added
- Live-data completion — Tab now completes real values from your account:
- link aliases for
open,inspect,qr,stats,export - link ids for
links delete/links update(shown with their alias) - key ids for
keys revoke(live keys, shown with their name)
- link aliases for
- Flag-value completion —
--format(json/csv/xlsx/xml),--status,--sort,--domain(your custom domains), and comma-aware--scopes(chains values, drops ones you've already picked). - Every dynamic lookup is best-effort behind a 2s timeout, so Tab never hangs or errors.
Packaging
- Homebrew:
brew install spoo-me/tap/spoo(orbrew upgrade) now installs bash/zsh/fish completion automatically — just open a new shell. - Linux packages (
.deb/.rpm/.apk) ship the completion scripts into the system completion dirs too. - Installed via
go install, a raw binary, or Scoop? Load it withsource <(spoo completion <shell>)— see the README.
Full Changelog: v0.1.2...v0.1.3