create: 交互默认值存在 Local
MemRelay-Operation: memory-save:gisdatatool-decision-local-defaults-20261113 MemRelay-Resource: 89c6eb84-978a-403c-a3af-3f9dfc8e758d
This commit is contained in:
@@ -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 会在清理临时文件时丢掉。
|
||||
Reference in New Issue
Block a user