diff --git a/packages/aws-cdk/lib/config.ts b/packages/aws-cdk/lib/config.ts index f69dcd0cba70d..5606e65fd22f3 100644 --- a/packages/aws-cdk/lib/config.ts +++ b/packages/aws-cdk/lib/config.ts @@ -35,7 +35,7 @@ export function makeConfig(): CliConfig { 'notices': { type: 'boolean', desc: 'Show relevant notices' }, 'no-color': { type: 'boolean', desc: 'Removes colors and other style from console output', default: false }, 'ci': { type: 'boolean', desc: 'Force CI detection. If CI=true then logs will be sent to stdout instead of stderr', default: DynamicValue.fromInline(() => process.env.CI !== undefined) }, - 'unstable': { type: 'array', desc: 'Opt in to specific unstable features. Can be specified multiple times.', default: [] }, + 'unstable': { type: 'array', desc: 'Opt in to unstable features. The flag indicates that the scope and API of a feature might still change. Otherwise the feature is generally production ready and fully supported. Can be specified multiple times.', default: [] }, }, commands: { 'list': { @@ -91,7 +91,7 @@ export function makeConfig(): CliConfig { }, }, gc: { - description: 'Garbage collect assets', + description: 'Garbage collect assets. Options detailed here: https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk/README.md#cdk-gc', arg: { name: 'ENVIRONMENTS', variadic: true, diff --git a/packages/aws-cdk/lib/parse-command-line-arguments.ts b/packages/aws-cdk/lib/parse-command-line-arguments.ts index e570f0d972ed0..30379f899b104 100644 --- a/packages/aws-cdk/lib/parse-command-line-arguments.ts +++ b/packages/aws-cdk/lib/parse-command-line-arguments.ts @@ -145,7 +145,7 @@ export function parseCommandLineArguments( }) .option('unstable', { type: 'array', - desc: 'Opt in to specific unstable features. Can be specified multiple times.', + desc: 'Opt in to unstable features. The flag indicates that the scope and API of a feature might still change. Otherwise the feature is generally production ready and fully supported. Can be specified multiple times.', default: [], }) .command(['list [STACKS..]', 'ls [STACKS..]'], 'Lists all stacks in the app', (yargs: Argv) => diff --git a/packages/aws-cdk/package.json b/packages/aws-cdk/package.json index bfcc16e1ca09d..85db0da1aa673 100644 --- a/packages/aws-cdk/package.json +++ b/packages/aws-cdk/package.json @@ -7,7 +7,7 @@ }, "scripts": { "build": "cdk-build", - "yargs-gen": "yarn ts-node scripts/yargs-gen.ts", + "yargs-gen": "yarn ts-node --preferTsExts scripts/yargs-gen.ts", "watch": "cdk-watch", "lint": "cdk-lint", "pkglint": "pkglint -f",