Skip to content

Commit f83821c

Browse files
committed
docs(cli): clarify app cli option
1 parent cf3bb6e commit f83821c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/aws-cdk/lib/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async function parseCommandLineArguments() {
5555
return yargs
5656
.env('CDK')
5757
.usage('Usage: cdk -a <cdk-app> COMMAND')
58-
.option('app', { type: 'string', alias: 'a', desc: 'REQUIRED: command-line for executing your app or a cloud assembly directory (e.g. "node bin/my-app.js")', requiresArg: true })
58+
.option('app', { type: 'string', alias: 'a', desc: 'REQUIRED WHEN RUNNING APP: command-line for executing your app or a cloud assembly directory (e.g. "node bin/my-app.js"). Can also be specified in cdk.json or ~/.cdk.json', requiresArg: true })
5959
.option('build', { type: 'string', desc: 'Command-line for a pre-synth build' })
6060
.option('context', { type: 'array', alias: 'c', desc: 'Add contextual string parameter (KEY=VALUE)', nargs: 1, requiresArg: true })
6161
.option('plugin', { type: 'array', alias: 'p', desc: 'Name or path of a node package that extend the CDK features. Can be specified multiple times', nargs: 1 })

0 commit comments

Comments
 (0)