rduplain/flask-script — Issue #6: @manager.command vs @manager.option seems strange
Author: rduplain
Created: 2012-02-29 16:03:41+00:00
State: open
Labels: bug

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