applied-cli 0.5.27__tar.gz → 0.5.28__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {applied_cli-0.5.27 → applied_cli-0.5.28}/PKG-INFO +1 -1
- {applied_cli-0.5.27 → applied_cli-0.5.28}/applied_cli/cli.py +36 -0
- {applied_cli-0.5.27 → applied_cli-0.5.28}/applied_cli.egg-info/PKG-INFO +1 -1
- {applied_cli-0.5.27 → applied_cli-0.5.28}/pyproject.toml +1 -1
- {applied_cli-0.5.27 → applied_cli-0.5.28}/README.md +0 -0
- {applied_cli-0.5.27 → applied_cli-0.5.28}/applied_cli/__init__.py +0 -0
- {applied_cli-0.5.27 → applied_cli-0.5.28}/applied_cli/client.py +0 -0
- {applied_cli-0.5.27 → applied_cli-0.5.28}/applied_cli/credentials.py +0 -0
- {applied_cli-0.5.27 → applied_cli-0.5.28}/applied_cli/formatters.py +0 -0
- {applied_cli-0.5.27 → applied_cli-0.5.28}/applied_cli/tools.py +0 -0
- {applied_cli-0.5.27 → applied_cli-0.5.28}/applied_cli.egg-info/SOURCES.txt +0 -0
- {applied_cli-0.5.27 → applied_cli-0.5.28}/applied_cli.egg-info/dependency_links.txt +0 -0
- {applied_cli-0.5.27 → applied_cli-0.5.28}/applied_cli.egg-info/entry_points.txt +0 -0
- {applied_cli-0.5.27 → applied_cli-0.5.28}/applied_cli.egg-info/requires.txt +0 -0
- {applied_cli-0.5.27 → applied_cli-0.5.28}/applied_cli.egg-info/top_level.txt +0 -0
- {applied_cli-0.5.27 → applied_cli-0.5.28}/setup.cfg +0 -0
|
@@ -281,6 +281,42 @@ def knowledge(
|
|
|
281
281
|
typer.echo(result)
|
|
282
282
|
|
|
283
283
|
|
|
284
|
+
# -----------------------------------------------------------------------------
|
|
285
|
+
# Flow commands
|
|
286
|
+
# -----------------------------------------------------------------------------
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
@app.command()
|
|
290
|
+
def flows(
|
|
291
|
+
agent_id: str = typer.Option(None, "--agent", "-a", help="Filter by agent ID"),
|
|
292
|
+
status: str = typer.Option(
|
|
293
|
+
None, "--status", "-s", help="Filter by status: Active, Draft, Archived"
|
|
294
|
+
),
|
|
295
|
+
format: str = typer.Option(
|
|
296
|
+
"csv", "--format", "-f", help="Output format: csv or json"
|
|
297
|
+
),
|
|
298
|
+
) -> None:
|
|
299
|
+
"""List flows."""
|
|
300
|
+
client = get_client()
|
|
301
|
+
result = asyncio.run(
|
|
302
|
+
tools.flow_list(client, agent_id=agent_id, status=status, output_format=format)
|
|
303
|
+
)
|
|
304
|
+
typer.echo(result)
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
@app.command()
|
|
308
|
+
def flow(
|
|
309
|
+
id: str = typer.Argument(..., help="Flow ID"),
|
|
310
|
+
format: str = typer.Option(
|
|
311
|
+
"summary", "--format", "-f", help="Output format: summary, full, or json"
|
|
312
|
+
),
|
|
313
|
+
) -> None:
|
|
314
|
+
"""Get a single flow with its graph (nodes and edges)."""
|
|
315
|
+
client = get_client()
|
|
316
|
+
result = asyncio.run(tools.flow_get(client, id, output_format=format))
|
|
317
|
+
typer.echo(result)
|
|
318
|
+
|
|
319
|
+
|
|
284
320
|
def main() -> None:
|
|
285
321
|
"""CLI entrypoint."""
|
|
286
322
|
app()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|