davetron5000/gli — Issue #56: Allow c.command to take an argument
Author: davetron5000
Created: 2011-11-11 13:54:46+00:00
State: open

For complex apps, it might be nice to allow:

```Ruby
c.command ListCommand

class ListCommand < Command
def initialize
super(:list,'Lists out all the stuff')

desc 'Use long form'
switch :l,:long
end
end
```

In conjunction with #55, GLI could treat this class as the action method as well, looking for the method `execute` on `ListCommand`