帮助 · CLI 参考

OWL Compose CLI 命令参考

只使用负责当前边界的命令。精确参数始终以本机安装版本的 --help 输出为准。

更新于 2026 年 9 月 5 日产品文档OWL Compose CLI 0.1.3 and laterOWL Compose Product

安装、连接与诊断

ow setup --target auto
ow setup --relogin --target auto
ow agent doctor --target auto
ow agent uninstall --target all

创作与校验

ow a2ui guide
ow a2ui component ow-chart --format json
ow a2ui check ./artifact/document.owx
ow a2ui preflight ./artifact/document.owx --require ow-table=1
ow a2ui fmt ./artifact/document.owx
ow a2ui compile ./artifact/document.owx --output ./artifact/document.json
ow a2ui digest ./artifact/document.json

发表与更新

第一条命令创建 Hosted 文档;第二条在发表下一个正式版本前,把产物目录显式绑定到已有 document ID。

ow publish ./artifact/document.json
ow publish ./artifact/document.json --update <document_id>

脚本化前查看实时帮助

ow --help
ow a2ui --help
ow publish --help
ow pull --help
ow media --help
产品边界

旧文章或旧对话里的参数,必须先由当前安装版本的命令帮助确认,才能进入自动化。

常见问题

常见问题

pull 会返回什么?

pull 取回当前 Render Document 供检查或恢复。可编辑 OWX 仍应保存在自己的源代码树中。

如何让已绑定目录创建一份全新文档?

确认确实需要新身份后,使用 ow publish --new-document。

使用真实工作流

把 Agent 创作的作品发表出来。

安装 CLI,用 OWX 创作并在本地校验,然后发表一份默认私密的作品;准备分享时再显式创建读者链接。