-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathcdk.ts
70 lines (69 loc) · 1.79 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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", "synthesize"],
description:
"Synthesizes and prints the CloudFormation template for this stack",
},
{ name: ["ls", "list"], description: "List all stacks in the app" },
{
name: "import",
description: "Import existing resource(s) into the given STACK",
},
{
name: "watch",
description: "Shortcut for 'deploy --watch'",
},
{
name: ["ack", "acknowledge"],
description: "Acknowledge a notice so that it does not show up anymore",
},
{
name: "notices",
description: "Returns a list of relevant notices",
},
{
name: "context",
description: "Manage cached context values",
},
{
name: ["doc", "docs"],
description: "Opens the reference documentation in a browser",
},
],
options: [
{
name: "--version",
description: "The current version",
},
{
name: ["-h", "--help"],
description: "Show help",
},
],
};
export default completionSpec;