Skip to content
Apothem
CLI 参考

harnesses

apothem harnesses 命令组的 CLI 参考。

列出并查看已注册的harness适配器。

harnesses 是一个命令组,包含两个子命令:listshow

概要

apothem harnesses list [--quiet|-q] [--verbose|-v]
                       [--format plain|json] [--json] [--no-color]
apothem harnesses show NAME
                       [--quiet|-q] [--verbose|-v]
                       [--format plain|json] [--json] [--no-color]

子命令

harnesses list

列出所有已注册的harness适配器。

选项描述
--quiet, -q抑制信息性输出;仅发出错误。
--verbose, -v发出额外的诊断输出。
--format plain|json输出格式(默认:plain)。
--json--format json 的简写。
--no-color在输出中禁用 ANSI 颜色码。
-h, --help显示帮助并退出。

harnesses show NAME

显示特定harness适配器的详细信息。NAME 是 kebab-case 形式的harness 标识符;运行 apothem harnesses list 查看可用的标识符。

选项描述
NAME要查看的harness适配器(必填位置参数)。
--quiet, -q抑制信息性输出;仅发出错误。
--verbose, -v发出额外的诊断输出。
--format plain|json输出格式(默认:plain)。
--json--format json 的简写。
--no-color在输出中禁用 ANSI 颜色码。
-h, --help显示帮助并退出。

示例

apothem harnesses list
apothem harnesses list --json
apothem harnesses show claude-code
apothem harnesses show claude-code --json

已注册的harness ID 为:

antigravity
claude-code
codebuddy
codex
cursor
gemini-cli
github-copilot
glm
hermes
kimi-code
kiro
open-claw
opencode
qwen-code
trae
windsurf
zed

退出码

含义
0成功
1未找到harness(harnesses show 使用了未知的 NAME

另请参阅

On this page