Feat: activate cli
This commit is contained in:
parent
2d08671247
commit
921292a0d2
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user