Feat: activate cli

This commit is contained in:
Bertrand Benjamin 2021-11-24 05:48:22 +01:00
parent 2d08671247
commit 921292a0d2

View File

@ -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()