From aa86318838523f63cb6ff7a3122ea31c7478ed75 Mon Sep 17 00:00:00 2001 From: MemRelay Date: Fri, 13 Nov 2026 11:43:25 +0800 Subject: [PATCH] =?UTF-8?q?create:=20=E4=BA=A4=E4=BA=92=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E5=AD=98=E5=9C=A8=20Local?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MemRelay-Operation: memory-save:gisdatatool-decision-local-defaults-20261113 MemRelay-Resource: 89c6eb84-978a-403c-a3af-3f9dfc8e758d --- .../交互默认值存在 Local.md | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 projects/cf07f710-3f8d-4669-817e-987ed511133d/交互默认值存在 Local.md diff --git a/projects/cf07f710-3f8d-4669-817e-987ed511133d/交互默认值存在 Local.md b/projects/cf07f710-3f8d-4669-817e-987ed511133d/交互默认值存在 Local.md new file mode 100644 index 0000000..e84e5e1 --- /dev/null +++ b/projects/cf07f710-3f8d-4669-817e-987ed511133d/交互默认值存在 Local.md @@ -0,0 +1,24 @@ +--- +title: 交互默认值存在 Local +type: decision +permalink: main/projects/cf07f710-3f8d-4669-817e-987ed511133d/交互默认值存在-local +stable_id: 89c6eb84-978a-403c-a3af-3f9dfc8e758d +scope: project +memory_type: decision +project_id: cf07f710-3f8d-4669-817e-987ed511133d +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: gisdatatool-decision-local-defaults-20261113 +created_at: '2026-11-13T03:43:20.482672+00:00' +updated_at: '2026-11-13T03:43:20.482672+00:00' +tags: +- cli +- local +--- + +2026-11-13 用户问交互默认值存放到哪里。 + +决定:项目根目录 Local/<工具名>.json。一个工具一个 UTF-8 JSON,键是询问标题,值是上次输入。询问结束后写入。整个 Local/ 不提交。 + +原因:这是本机上次输入,不是数据源,也不是处理结果。放 Source 会和数据混在一起;放 Output 会被按次结果目录冲掉或难以找到;放 Scripts 容易跟代码一起提交;放 Temp 会在清理临时文件时丢掉。 \ No newline at end of file