Skip to content

Commit 2a92d0a

Browse files
fix: add/show default value to init command (#1101)
1 parent 534cb1b commit 2a92d0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/init.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
type: "text",
1919
name: "name",
2020
message: "What is the name of your test app?",
21+
initial: "TestApp",
2122
validate: Boolean,
2223
},
2324
{
@@ -36,6 +37,7 @@
3637
type: "text",
3738
name: "packagePath",
3839
message: "Where should we create the new project?",
40+
initial: "example",
3941
validate: Boolean,
4042
},
4143
]);

0 commit comments

Comments
 (0)