rduplain/flask-script — Issue #4: Decorators for commands
Author: rduplain
Created: 2012-02-29 16:28:54+00:00
State: open
Labels: enhancement, import

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