diff --git a/scodoc.py b/scodoc.py index f2c2b3d9..774325f9 100755 --- a/scodoc.py +++ b/scodoc.py @@ -274,6 +274,13 @@ def list_depts(depts=""): # list-dept print(f"{dept.id}\t{dept.acronym}") +@app.cli.command() +def scodoc_database_uri(): # list-dept + """print the database_uril + """ + print(app.config["SQLALCHEMY_DATABASE_URI"]) + + @app.cli.command() @with_appcontext def import_scodoc7_users(): # import-scodoc7-users