taolib.symphony.cli#

Symphony CLI 入口。

基于 Typer 的命令行接口,提供编排服务的启动、验证和版本查询功能。

Attributes#

app

Functions#

run(, port, config, logs_root, , [, help])

启动 Symphony 编排服务。

validate() → None)

验证 WORKFLOW.md 配置。

version(→ None)

显示版本信息。

Module Contents#

taolib.symphony.cli.app#
taolib.symphony.cli.run(workflow: pathlib.Path = typer.Argument(..., exists=True, readable=True, help='WORKFLOW.md 文件路径'), port: int | None = typer.Option(None, '--port', '-p', help='HTTP 服务端口(覆盖配置文件)'), config: pathlib.Path | None = typer.Option(None, '--config', '-c', help='symphony.toml 配置文件路径'), logs_root: pathlib.Path = typer.Option(Path('./log'), '--logs-root', '-l', help='日志输出根目录')) None#

启动 Symphony 编排服务。

taolib.symphony.cli.validate(workflow: pathlib.Path = typer.Argument(..., exists=True, readable=True, help='WORKFLOW.md 文件路径')) None#

验证 WORKFLOW.md 配置。

taolib.symphony.cli.version() None#

显示版本信息。