News for hackers. Stuff that matters.
Re:Challenge: Implement CLI interface like that? by emmelaich on Sunday June 17, 2012 @01:12PM (#4123313)
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.

Re:Challenge: Implement CLI interface like that? by halst on Sunday June 17, 2012 @01:27PM (#4123344)
Quite similar approach. But I think usage-pattern matching is where docopt shines.