forked from withfig/autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cdk.ts
46 lines (45 loc) · 1.17 KB
/
cdk.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
40
41
42
43
44
45
46
const completionSpec: Fig.Spec = {
name: "cdk",
description: "AWS CDK CLI",
subcommands: [
{
name: "init",
description: "Create a new, empty CDK project from a template.",
},
{
name: "metadata",
description: "Returns all metadata associated with this stack.",
},
{ name: "doctor", description: "Check your set-up for potential problems" },
{
name: "diff",
description: "Compares the specified stack with the deployed stack",
},
{ name: "destroy", description: "Destroy the specified stack(s)" },
{
name: "deploy",
description: "Deploy the specified stack(s) into your AWS account",
},
{
name: "bootstrap",
description: "Deploys the CDK toolkit stack into an AWS environment",
},
{
name: "synth",
description:
"Synthesizes and prints the CloudFormation template for this stack",
},
{ name: "ls", description: "List all stacks in the app" },
],
options: [
{
name: "--version",
description: "The current version",
},
{
name: ["-h", "--help"],
description: "Show help",
},
],
};
export default completionSpec;