typer app

This commit is contained in:
0xFugue
2023-07-19 12:19:26 +05:30
parent 77e0b97a38
commit d3558f9e65

View File

@@ -411,6 +411,8 @@ def _sanity_check(fname, keys, ftype="json"):
raise typer.BadParameter(str(ex))
app = typer.Typer()
@app.command()
def kurtosis(ctx: typer.Context, config_file: Path):
_sanity_check(fname, "json", [GENNET, GENLOAD])