Skip to content

Commit 2d210c1

Browse files
ortamacklinu
authored andcommitted
feat: Store the results of asking questions (#14)
1 parent a19b8f3 commit 2d210c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -63,24 +63,28 @@ export default class extends Generator {
6363
name: 'authorName',
6464
message: 'What is your full name (for npm authorship)?',
6565
default: async () => await defaultName(),
66+
store: true,
6667
},
6768
{
6869
type: 'input',
6970
name: 'authorEmail',
7071
message: 'What is your email (for npm authorship)?',
7172
default: async () => await defaultEmail(),
73+
store: true,
7274
},
7375
{
7476
type: 'input',
7577
name: 'githubUsername',
7678
message: 'What is your GitHub username?',
7779
default: async () => await defaultGitHubUsername(),
80+
store: true,
7881
},
7982
{
8083
type: 'confirm',
8184
name: 'useYarn',
8285
message: 'Use Yarn?',
8386
default: true,
87+
store: true,
8488
},
8589
])
8690

0 commit comments

Comments
 (0)