nodeSolidServer / nodeSolidServer/node-solid-server
no documentation for solid start --config-path or --config-file
未关闭
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 1.8k
- 派生
- 308
- PR 合并指标
- 30 天内没有已合并 PR
描述
The output of solid start --help doesn't show any help description for the following items:
--config-path [value]
--config-file [value]
What's more, the output of solid init doesn't make this very clear either:
? Path to the config directory (for example: /etc/solid-server) ./myconf
? Path to the config file (for example: ./config.json) foo.json
When I see these items, I ask the following questions:
- should the config file be stored in the config directory, or are these different things? I expected that the config file would be written as
[config_dir]/[config_file], but it isn't. Is the config directory something for startup, or runtime configuration? - if I specify foo.json as a config file, why does solid init still write it to
./config.json? - I can specify a config file on the command line with
solid start --config-file. If it reads this config file, what is the behaviour of theconfigFileoption in this json file? Is it used at all (to reload a secondary config file?) or is it ignored?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
先运行 solid start --help 和 solid init,然后跟踪 --config-path、--config-file 和 configFile 这些入口,以确定它们的行为。更新相关的 CLI 帮助或文档,明确配置目录、配置文件和生成的 ./config.json 之间的关系,并使用这两个命令验证文档中描述的行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- cli, documentation
- Issue 类型
- 文档
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100