Remove flask-script, move commands to click

click (http://click.pocoo.org/) is used by flask to run its cli args.
In removing flask_script (it's unmaintained), we had to migrate all our
commands to use click. This is a change for the better in my eyes - you
don't need to define the command in several places, and it makes
managing options a bit easier.

View diff with whitespace turned off unless you're a masochist.
This commit is contained in:
Leo Hemsted
2017-11-06 12:34:29 +00:00
parent 0df44040e3
commit 9f56dccdee
9 changed files with 300 additions and 331 deletions

View File

@@ -5,7 +5,6 @@ docopt==0.6.2
Flask-Bcrypt==0.7.1
Flask-Marshmallow==0.8.0
Flask-Migrate==2.1.1
Flask-Script==2.0.5
Flask-SQLAlchemy==2.3.2
Flask==0.12.2
gunicorn==19.7.1