recopytex/recopytex/scripts/recopytex.py

19 lines
320 B
Python

#!/usr/bin/env python
# encoding: utf-8
import click
from recopytex.dashboard.index import app as dash
@click.group()
def cli():
pass
@cli.command()
@click.option("--debug", default=0, help="Debug mode for dash")
def dashboard(debug):
dash.run_server(debug=bool(debug))
if __name__ == "__main__":
cli()