Scog: Easily generate shell completions for any binary (bash, zsh, fish)

4 pointsposted a day ago
by vrmiguel

1 Comments

vrmiguel

a day ago

Writing shell completions is tough: bash, zsh, and fish each have different, complex syntax

scog aims to solve this: you write one simple YAML file describing your CLI and it generates proper completion scripts for all three shells.

It's built on clap's battle tested generators, so you get proven, quality completions without maintaining shell-specific scripts

Suggestions welcome ;)