blob: 7fc1a02c859c4c4325fe207f0a71b3f9192245ad (
plain)
1
2
3
4
5
6
7
8
9
|
import sys
import importlib
if len(sys.argv)<2:
print("please enter the name of the Flask app")
print("currently Dawn, task_server or risk_insight")
else:
mod = importlib.import_module(sys.argv[1])
mod.app.run(debug=True)
|