Hacker News new | ask | show | jobs
Scog: Easily generate shell completions for any binary (bash, zsh, fish) (github.com)
4 points by vrmiguel 233 days ago
1 comments

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 ;)