News for hackers. Stuff that matters.
Re:Hacking up your own shell completion by dim-an on Friday March 06, 2020 @04:00AM (#22502056)
On my Christmas holidays I built a little tool that does similar things.

Features I wanted to include originally were

   1 shell completion autogeneration from `--help` texts;
   2 support bash/zsh/fish;
   3 support toml-like description of command arguments.
At the moment I have a tool that generates completions from `--help` messages and supports bash/zsh. I use it daily and it makes me little bit happier.

[1] https://github.com/dim-an/cod

Re:Hacking up your own shell completion by StavrosK on Friday March 06, 2020 @09:07AM (#22503614)
It's called "cod" and doesn't support fish? :(
Re:Hacking up your own shell completion by dim-an on Friday March 06, 2020 @09:46AM (#22503926)
Why would I need a fish if I already have cod? ;)

Actually when I started this project I used fish as my main shell on laptop and first versions of cod did support fish, but then I decided to focus bash/zsh as they look more popular.

I still want to add fish support when I have some time though. It doesn't look complicated.