Use the user directory as default config file location
还没有人认领这个 Issue。
评估
调研方向
定位 CLI 中的初始化和配置路径处理流程,然后检查默认位置的排序方式。验证用户目录会在 ./cli.json 之前进行检查,并确认正常调用时最终的优先级。
由索引模型根据 Issue 内容生成。
描述
The current default(first) location for configuration storage is ./cli.json, which is not so useful in most cases since the user would need to:
- Call gotify-cli in this specific directory for every invocation
- Create a
cli.jsonin a random directory, which is not a clearly explanatory file name.
So I think in most cases, the user would use user directory as their config storage, so we should put that in front of ./cli.json by default during initialization.
- 主要语言
- Go
- 星标
- 588
- 派生
- 73
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
gotify/cli 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 74/100
-
a:feature
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
a:feature
难度 3/5 1-2 天 新手友好度 35/100
相似的 Issue
-
bug github_actions
难度 2/5 1-3 小时 新手友好度 75/100
registrystack/registry-stack#1393 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
JakeChampion/lang#10213 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
oasisprotocol/oasis-sdk#2523 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100