Skip to content

Commit

Permalink
latest updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Nov 5, 2024
1 parent ddd7eae commit f7a09b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk/lib/parse-command-line-arguments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f7a09b0

Please sign in to comment.