Hacker News new | ask | show | jobs
by wingmanjd 685 days ago
Whoah, that's a neat tool! I definitely need to implement this with my scripts.

Thanks!

2 comments

It's abandoned, and tbh it's more trouble than it's worth. It's far easier and more reliable to specify the CLI and have it generate the help text than the other way around. All major languages have good CLI parsing libraries (some in the stdlib itself, like Go and Python).
Yeah..... it seems like it would be fragile and require lots of iterating to converge on a help doc that is both "pretty" and correctly parsed by docopt
It's a neat idea (I maintained an unofficial C port for a while); but, terrible in practice.