I have a simple single page flask web page. This app requires a cmd line argument during run as follow: python3 example.py home/dir1/dir2.
Now I want to run this app using flask run command. I set FLASK_APP=example.py then executing flask run command will start the flask server but since I am not able to provide the argument, my app will not work. How can I pass this home/dir1/dir2 argument with flask run? I've used argv for the argument instead of argparse.