diff --git a/VERSION b/VERSION index ee1372d..7179039 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.2 +0.2.3 diff --git a/lark_snooper.py b/lark_snooper.py index 9d1e946..0a7b009 100755 --- a/lark_snooper.py +++ b/lark_snooper.py @@ -587,6 +587,7 @@ def main(): summarize.add_argument("--force-fetch", action="store_true", help="即使本地已有数据也强制重新拉取") summarize.add_argument("--config", help="YAML 配置路径;默认读取当前目录 config.yaml") summarize.add_argument("-o", "--output", help="输出路径,优先级高于 YAML") + summarize.add_argument("--overwrite", action="store_true", help="覆盖已有非空日报") mode = summarize.add_mutually_exclusive_group() mode.add_argument("--check", action="store_true", help="只检查模型,不同步或读取消息") mode.add_argument("--dry-run", action="store_true", help="只导出消息 JSON,不发送给模型")