wf cli foundation

This commit is contained in:
lda
2026-06-01 02:27:43 +07:00 Verified
parent 6dab695b53
commit 3cd7f529e9
18 changed files with 318 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
"""Typer command groups for the wf CLI."""
from . import artifacts, caps, deployments, docs, drafts, explain, runs, schema
__all__ = [
"artifacts",
"caps",
"deployments",
"docs",
"drafts",
"explain",
"runs",
"schema",
]
+9
View File
@@ -0,0 +1,9 @@
from __future__ import annotations
import typer
app = typer.Typer(
name="artifact",
help="List and inspect saved workflow artifacts.",
no_args_is_help=True,
)
+9
View File
@@ -0,0 +1,9 @@
from __future__ import annotations
import typer
app = typer.Typer(
name="cap",
help="Inspect and call workflow capabilities.",
no_args_is_help=True,
)
+9
View File
@@ -0,0 +1,9 @@
from __future__ import annotations
import typer
app = typer.Typer(
name="deploy",
help="Save, inspect, validate, and delete workflow deployments.",
no_args_is_help=True,
)
+9
View File
@@ -0,0 +1,9 @@
from __future__ import annotations
import typer
app = typer.Typer(
name="docs",
help="List and read workflow documentation resources.",
no_args_is_help=True,
)
+9
View File
@@ -0,0 +1,9 @@
from __future__ import annotations
import typer
app = typer.Typer(
name="draft",
help="Create, inspect, patch, validate, and save draft workflows.",
no_args_is_help=True,
)
+9
View File
@@ -0,0 +1,9 @@
from __future__ import annotations
import typer
app = typer.Typer(
name="explain",
help="Explain workflow diagnostic and CLI error codes.",
no_args_is_help=True,
)
+9
View File
@@ -0,0 +1,9 @@
from __future__ import annotations
import typer
app = typer.Typer(
name="run",
help="Run workflow deployments and inspect durable runs.",
no_args_is_help=True,
)
+9
View File
@@ -0,0 +1,9 @@
from __future__ import annotations
import typer
app = typer.Typer(
name="schema",
help="Print expected input shapes for wf commands.",
no_args_is_help=True,
)