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 摘要。