-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathcreate-redwood-app.ts
39 lines (38 loc) · 1.08 KB
/
create-redwood-app.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
const spec: Fig.Spec = {
name: "create-redwood-app",
icon: "https://avatars.githubusercontent.com/u/45050444?s=48&v=4",
args: {
name: "projectName",
description: "Name of your Redwood project",
},
options: [
{ name: ["--help", "-h"], description: "Show help" },
{
name: ["--typescript", "--ts"],
description: "Generate a TypeScript project",
},
{
name: "--overwrite",
description: "Create even if target directory isn't empty",
},
{
name: "--telemetry",
description: "Enables sending telemetry events for this create",
},
{
name: ["--git-init", "--git"],
description: "Initialize a git repository",
},
{
name: ["--commit-message", "-m"],
description: "Commit message for the initial commit",
},
{ name: ["--yes", "-y"], description: "Skip prompts and use defaults" },
{ name: "--version", description: "Show version number" },
{
name: "--yarn-install",
description: "Install node modules. Skip via --no-yarn-install",
},
],
};
export default spec;