rduplain/flask-script — Issue #16: Decorators for commands
Author: rduplain
Created: 2012-02-29 15:52:11+00:00
State: open
Labels: enhancement

Something like @manager.command("...") equivalent to manager.add_command("...", CommandClass()) would make sense (on Python 2.6+, of course) and be analogous to how Flask does URL routing.

---------------------------------------
- Bitbucket: https://bitbucket.org/danjac/flask-script/issue/4
- Originally Reported By: [Nicholas Riley](http://bitbucket.org/njr)
- Originally Created At: 2010-07-13 20:48:05