News for hackers. Stuff that matters.
Re:Challenge: Implement CLI interface like that? by nivertech on Sunday June 17, 2012 @08:00AM (#4122761)
Any plans to add Ruby and other programming languages?
Re:Challenge: Implement CLI interface like that? by halst on Sunday June 17, 2012 @08:08AM (#4122779)
Right now we have two full-blown working implementations: - Python - CoffeeScript

We have just started to port to Ruby and Lua. All ports live under `docopt` organization on GitHub: https://github.com/docopt

You are very welcome to help us out with Ruby, Lua, and your favorite language :-).

Re:Challenge: Implement CLI interface like that? by dblock on Sunday June 17, 2012 @08:06AM (#4122775)
See clap for an implementation, https://github.com/soveran/clap
Re:Challenge: Implement CLI interface like that? by halst on Sunday June 17, 2012 @08:10AM (#4122784)
I think Clap is good. But you can't beat the readability and succinctness of a DSL (docopt).
Re:Challenge: Implement CLI interface like that? by mickeyben on Sunday June 17, 2012 @09:29AM (#4122894)
You should checkout Clamp https://github.com/mdub/clamp