README.md in commander-4.2.0 vs README.md in commander-4.2.1

- old
+ new

@@ -1,7 +1,7 @@ [<img src="https://secure.travis-ci.org/ggilder/commander.png?branch=master" alt="Build Status" />](http://travis-ci.org/ggilder/commander) -[![Inline docs](http://inch-pages.github.io/github/visionmedia/commander.png)](http://inch-pages.github.io/github/visionmedia/commander) +[![Inline docs](http://inch-ci.org/github/visionmedia/commander.png)](http://inch-ci.org/github/visionmedia/commander) # Commander The complete solution for Ruby command-line executables. Commander bridges the gap between other terminal related libraries @@ -94,10 +94,18 @@ def run program :name, 'Foo Bar' program :version, '1.0.0' program :description, 'Stupid command that prints foo or bar.' - # see classic style example for options + command :foo do |c| + c.syntax = 'foobar foo' + c.description = 'Displays foo' + c.action do |args, options| + say 'foo' + end + end + + run! end end MyApplication.new.run if $0 == __FILE__ ```