Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Reminds me of apenwarr's option parsing in bup.

http://apenwarr.ca/log/?m=201111

Had you seen that before?

Also, I love it; it's taking DRY to its necessary conclusion.



Quite similar approach. But I think usage-pattern matching is where docopt shines.




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

Search: