fix(misc): prompt for workspace name when creating it using nx init (#18079)

This commit is contained in:
Leosvel Pérez Espinosa 2023-07-13 08:22:09 +01:00 committed by GitHub
parent ae773d547e
commit 6ce7fc57ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,8 @@ export interface InitArgs {
}
export async function initHandler(options: InitArgs) {
const args = process.argv.slice(2).join(' ');
// strip the 'init' command itself so we don't forward it
const args = process.argv.slice(3).join(' ');
const flags = parser(args, {
boolean: ['useDotNxInstallation'],
alias: {