style: format schema cli
This commit is contained in:
@@ -84,6 +84,7 @@ app.command("explain")(explain.explain_command)
|
||||
app.command("status")(status.status_command)
|
||||
app.command("schema")(schema.schema_command)
|
||||
|
||||
|
||||
def main() -> None:
|
||||
"""Console script entrypoint for `wf`."""
|
||||
load_dotenv()
|
||||
|
||||
@@ -33,7 +33,5 @@ def schema_command(
|
||||
message = exc.args[0] if exc.args else str(exc)
|
||||
raise typer.BadParameter(message, param_hint="NAME") from exc
|
||||
emit_json(
|
||||
verbose_schema_document(name)
|
||||
if verbose
|
||||
else compact_schema_outline(name)
|
||||
verbose_schema_document(name) if verbose else compact_schema_outline(name)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user