nodeSolidServer / nodeSolidServer/node-solid-server

'solid init' command shows some confusing output when custom values are added

未关闭
#1,451 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
1.8k
派生
308
PR 合并指标
30 天内没有已合并 PR

描述

If you specify custom values when prompted to by solid init, the output looks a bit confusing.

For example, the first question is:

? Path to the folder you want to serve. Default is (./data)

if I set a value here (e.g. /external/data) then after I press return, the line shows:

? Path to the folder you want to serve. Default is /external/data

(note the additional text 'Default is'). Ideally this part of the text should disappear once a value is entered to reduce confusion.

These two questions look nice once an answer has been given:

? Solid server uri (with protocol, hostname and port) https://localhost:8443
? Enable WebID authentication Yes

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位 solid init 命令使用的提示渲染,并使用类似 /external/data 的自定义答案复现该问题。当输入值后,显示的提示不再包含 Default is 文本,同时其他问题的输出仍然正确时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
cli
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。