Get list of all routes defined in the Flask app
You can view all the Routes via flask shell by running the following commands after exporting or setting FLASK_APP environment variable.

flask shell
app.url_map
I have a complex Flask-based web app.  There are lots of separate files with view functions.  Their URLs are defined with the @app.route('/...') decorator.  Is there a way to get a list of all the routes that have been declared throughout my app?  Perhaps there is some method I can call on the app object?