Hacker News new | ask | show | jobs
by dim-an 2295 days ago
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

1 comments

It's called "cod" and doesn't support fish? :(
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.