From 002eabeb99d9f084a73d844d5e2b1f42c9b0dff1 Mon Sep 17 00:00:00 2001 From: thomaswoehlke Date: Sun, 12 Dec 2021 21:19:09 +0100 Subject: [PATCH] refactoring: rename directory flask_covid19 to project --- app.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app.py b/app.py index a4eb3010..95c6d320 100644 --- a/app.py +++ b/app.py @@ -122,6 +122,13 @@ def owid_download(): owid_service.download() +@app.cli.command("owid-import") +def owid_import_file(): + """[OWID] import file""" + with app.app_context(): + owid_service.import_file() + + @app.cli.command("owid-update-full") def owid_full_update(): """[OWID] full update"""