node-solid-server icon indicating copy to clipboard operation
node-solid-server copied to clipboard

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

Open alastair opened this issue 5 years ago • 1 comments

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

alastair avatar Jul 23 '20 09:07 alastair

? 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.

(Why are there parentheses around ./data in the original message, and not around /external/data in the subsequent? I should think the parentheses should be around both [if they're meant to separate the path from the punctuation of the message, as seems most likely] or neither [if not].)

I would say that rather than Default is disappearing, the line should adjust to something like

Default is (./data). Current selection is (/external/data).

TallTed avatar Nov 09 '20 17:11 TallTed