feat: unify CLI dry-run and write confirmation

This commit is contained in:
gitea committed 2026-09-11 16:53:14 +08:00
1 parent 639aaa9271
commit 45eb83a609
19 files changed
+506 -71

No files matched your search

+3 -1
View File
@@ -155,7 +155,9 @@ export function printHelp(): string {
--full 允许全量输出大体积 JSON (绕过 200KB 防爆拦截)
--stateless 单次强制以无状态模式执行
--stateful 单次强制以有状态模式执行
--yes, -y 确认执行会改变单据状态的审批动作
--dry-run 只预览写操作,不发起写请求或落盘
--yes, -y 确认执行会改变数据的写操作
--confirm --yes 的可读别名;写操作必须显式确认
--help, -h 查看帮助信息
常用示例: