News for hackers. Stuff that matters.
Re:Challenge: Implement CLI interface like that? by mwhooker on Sunday June 17, 2012 @05:52AM (#4122602)
seems like per #1 & 2 you could either write a dsl or line-processing library and get it done in 1 line
Re:Challenge: Implement CLI interface like that? by halst on Sunday June 17, 2012 @05:55AM (#4122608)
That exactly what [docopt](http://docopt.org/) is—DSL that allows implement almost any interface in one line (having formal interface description).
Re:Challenge: Implement CLI interface like that? by mwhooker on Sunday June 17, 2012 @06:16AM (#4122634)
ahh, cool. suppose I should have read past the rules