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/parse-command-line-arguments.ts
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -900,6 +900,13 @@ export function parseCommandLineArguments(args: Array<string>): any {
900
900
type: 'string',
901
901
desc: 'The package manager to use to install dependencies. Only applicable for TypeScript and JavaScript projects. Defaults to npm in TypeScript and JavaScript projects.',
902
902
choices: ['npm','yarn','pnpm','bun'],
903
+
})
904
+
.option('name',{
905
+
default: undefined,
906
+
type: 'string',
907
+
alias: 'n',
908
+
desc: 'The name of the new project',
909
+
requiresArg: true,
903
910
}),
904
911
)
905
912
.command('migrate','Migrate existing AWS resources into a CDK app',(yargs: Argv)=>
0 commit comments