无界面运行
foxora run 执行一条请求,将文本流输出到标准输出,并在失败时返回非零状态。
步骤
- 从需要检查的项目目录执行。
- 为提示词加引号,确保 shell 将其作为单个参数。
- 可在
run后紧接选择fast、pro或max。 - 在自动化中捕获输出或检查
$?。
请求示例
foxora run "summarize this repository"
foxora run fast -n "fix the failing test"
foxora run pro --prompt "review this architecture"
foxora run max -n "analyze the hardest unresolved issue"保存输出
foxora run fast -n "review this diff" > review.txt预期结果
成功时输出回复并以零退出;不可达或执行失败时返回非零值。
注意: 当前输出为人类可读文本,不提供 --json 契约。不要把终端装饰当作结构化数据解析。