You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/aws-cdk/bin/cdk.ts
+4-1
Original file line number
Diff line number
Diff line change
@@ -89,11 +89,13 @@ async function parseCommandLineArguments() {
89
89
.option('force',{alias: 'f',type: 'boolean',desc: 'Always deploy stack even if templates are identical',default: false})
90
90
.option('parameters',{type: 'array',desc: 'Additional parameters passed to CloudFormation at deploy time (STACK:KEY=VALUE)',nargs: 1,requiresArg: true,default: {}})
91
91
.option('outputs-file',{type: 'string',alias: 'O',desc: 'Path to file where stack outputs will be written as JSON',requiresArg: true})
92
-
.option('previous-parameters',{type: 'boolean',default: true,desc: 'Use previous values for existing parameters (you must specify all parameters on every deployment if this is disabled)'}),
92
+
.option('previous-parameters',{type: 'boolean',default: true,desc: 'Use previous values for existing parameters (you must specify all parameters on every deployment if this is disabled)'})
93
+
.option('trunc',{type: 'boolean',desc: 'Display only stack activity events for the resource currently being updated',default: false}),
93
94
)
94
95
.command('destroy [STACKS..]','Destroy the stack(s) named STACKS',yargs=>yargs
95
96
.option('exclusively',{type: 'boolean',alias: 'e',desc: 'Only destroy requested stacks, don\'t include dependees'})
96
97
.option('force',{type: 'boolean',alias: 'f',desc: 'Do not ask for confirmation before destroying the stacks'}))
98
+
.option('trunc',{type: 'boolean',desc: 'Display only stack activity events for the resource currently being updated',default: false})
97
99
.command('diff [STACKS..]','Compares the specified stack with the deployed stack or a local template file, and returns with status 1 if any difference is found',yargs=>yargs
98
100
.option('exclusively',{type: 'boolean',alias: 'e',desc: 'Only diff requested stacks, don\'t include dependencies'})
99
101
.option('context-lines',{type: 'number',desc: 'Number of context lines to include in arbitrary JSON diff rendering',default: 3,requiresArg: true})
@@ -279,6 +281,7 @@ async function initCommandLine() {
0 commit comments