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/lib/cli/cli-config.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -408,7 +408,7 @@ export async function makeConfig(): Promise<CliConfig> {
408
408
'lib-version': {type: 'string',alias: 'V',default: undefined,desc: 'The version of the CDK library (aws-cdk-lib) to initialize built-in templates with. Defaults to the version that was current when this CLI was built.'},
409
409
'from-path': {type: 'string',desc: 'Path to a local custom template directory or multi-template repository',requiresArg: true,conflicts: ['lib-version']},
410
410
'template-path': {type: 'string',desc: 'Path to a specific template within a multi-template repository',requiresArg: true},
411
-
'package-manager': {type: 'string',desc: 'The package manager to use to install dependencies. Only applicable for TypeScript and JavaScript projects. Defaults to npm in TypeScript and JavaScript projects.',choices: JS_PACKAGE_MANAGERS},
411
+
'package-manager': {type: 'string',desc: 'The package manager to use to install dependencies. Only applicable for TypeScript and JavaScript projects. Defaults to npm in TypeScript and JavaScript projects.',choices: JS_PACKAGE_MANAGERS.map(({ name })=>name)},
0 commit comments