davetron5000/gli — Issue #55: Allow c.action to take a class as an argument
Author: davetron5000
Created: 2011-11-11 13:51:28+00:00
State: open
Labels: Feature Request

Might be nice to do:

```Ruby
c.command :list do
c.action ListAction
end

class ListAction
def self.execute(global_options,options,arguments)
# whatever
end
end
```

If the `c.action` block is omitted, GLI should look for a class named `ListAction`. This would cut down on boilerplate, but also encourage a style of coding where the actions could be tested outside of aruba