Skip to content

Commit e99ce1d

Browse files
matthewlynchchrisvxd
authored andcommitted
chore: use list for recipe question
1 parent 5f6f6d8 commit e99ce1d

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

packages/create-puck-app/index.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,25 @@ program
7171
const questions = [
7272
...beforeQuestions,
7373
{
74-
type: "input",
74+
type: "list",
7575
name: "recipe",
7676
message: "Which recipe would you like to use?",
7777
required: true,
7878
default: "next",
79+
choices: [
80+
{
81+
name: "Next.js",
82+
value: "next",
83+
},
84+
{
85+
name: "React Router",
86+
value: "react-router",
87+
},
88+
{
89+
name: "Remix",
90+
value: "remix",
91+
},
92+
],
7993
},
8094
];
8195
const answers = await inquirer.prompt(questions);

0 commit comments

Comments
 (0)