export FLASK_APP=app.py 'export' is not recognized as an internal or external command, operable program or batch file. code example
Example: flask commands
# manage.py
from flask_script import Manager
from myapp import app
manager = Manager(app)
@manager.command
def hello():
print "hello"
if __name__ == "__main__":
manager.run()