style: format schema cli

This commit is contained in:
lda
2026-06-22 22:32:23 +07:00 Verified
parent b32723b68d
commit 29b343aeea
2 changed files with 2 additions and 3 deletions
+1
View File
@@ -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()
+1 -3
View File
@@ -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)
)