import typer from commands.fincas import update_fincas_console as update_fincas from commands.measures import ( delete_measures, get_measures, import_json_dump, import_measures, import_range, ) from commands.runserver import runserver typer_app = typer.Typer() typer_app.command()(runserver) typer_app.command()(import_measures) typer_app.command()(import_range) typer_app.command()(get_measures) typer_app.command()(delete_measures) typer_app.command()(import_json_dump) typer_app.command()(update_fincas) if __name__ == "__main__": typer_app()