Skip to content

Commit 31008df

Browse files
committed
better cli ui
1 parent dad225e commit 31008df

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

bin/lib/options.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ module.exports = [
3131
},
3232
{
3333
name: 'auth',
34-
help: 'Pick an authentication strategy `tls` or `oidc`',
35-
question: 'What authentication strategy do you want to provide?',
34+
help: 'Pick an authentication strategy for WebID: `tls` or `oidc`',
35+
question: 'Select authentication strategy',
3636
type: 'list',
3737
choices: [
38-
'TLS',
39-
'OpenID Connect'
38+
'WebID-TLS',
39+
'WebID-OpenID Connect'
4040
],
4141
prompt: true,
42-
default: 'TLS',
42+
default: 'WebID-TLS',
4343
filter: (value) => {
44-
if (value === 'TLS') return 'tls'
45-
if (value === 'OpenID Connect') return 'oidc'
44+
if (value === 'WebID-TLS') return 'tls'
45+
if (value === 'WebID-OpenID Connect') return 'oidc'
4646
},
4747
when: (answers) => {
4848
return answers.webid

0 commit comments

Comments
 (0)