Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Scog: Easily generate shell completions for any binary (bash, zsh, fish) (github.com/vrmiguel)
4 points by vrmiguel 57 days ago | hide | past | favorite | 1 comment


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: