padrino/padrino-framework — pull request #890 by fnordfish (2012-08-02 09:21:23+00:00)
Title: thor complains about missing task descriptions

Most padrino tasks with a shortcut (`s` => `start`, `g` => `generate`, etc...) don't have an associated usage or description. Thor puts a warning like this:

```
[WARNING] Attempted to create task "g" without usage or description. Call desc if you want this method to be available as task or declare it inside a no_tasks{} block. Invoked from "/home/vagrant/.rvm/gems/ruby-1.9.3-p194/bundler/gems/padrino-framework-c400f66fba6e/padrino-core/lib/padrino-core/cli/base.rb:99:in `'".
```

Instead of defining a new task and invoking the other, wouldn't be thor's `map` a better alternative (eg. `map ["gen", "g"] => :generate`)?