rduplain/flask-script-migration-test — Issue #6: @manager.command vs @manager.option seems strange
Author: rduplain
Created: 2012-02-29 15:39:50+00:00
State: open

I'd suggest just having Option arguments to manager.command, i.e., instead of:

#!python

@manager.option('-n', '--name', dest='name', help="your name")
@manager.option('-u', '--url', dest='url', help="your url")

have:

#!python

@manager.command(Option('-n', '--name', dest='name', help="your name")),
Option('-u', '--url', dest='url', help="your url"))

---------------------------------------
- Bitbucket: https://bitbucket.org/danjac/flask-script/issue/6
- Originally Reported By: [Nicholas Riley](http://bitbucket.org/njr)
- Originally Created At: 2010-07-14 19:07:22