mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-17 10:42:25 -05:00
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.
11 lines
151 B
Python
11 lines
151 B
Python
##!/usr/bin/env python
|
|
from __future__ import print_function
|
|
|
|
from flask import Flask
|
|
|
|
from app import create_app
|
|
|
|
app = Flask('app')
|
|
|
|
create_app(app)
|