From 921292a0d2fc31b3cd410a7c7922a7db8e8b842d Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Wed, 24 Nov 2021 05:48:22 +0100 Subject: [PATCH] Feat: activate cli --- recopytex/scripts/recopytex.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recopytex/scripts/recopytex.py b/recopytex/scripts/recopytex.py index b706bff..65f2ed6 100644 --- a/recopytex/scripts/recopytex.py +++ b/recopytex/scripts/recopytex.py @@ -4,7 +4,6 @@ import click from recopytex.dashboard.app import app as dash - @click.group() def cli(): pass @@ -14,3 +13,6 @@ def cli(): @click.option("--debug", default=0, help="Debug mode for dash") def dashboard(debug): dash.run_server(debug=bool(debug)) + +if __name__ == "__main__": + cli()