feat(create-payload-app): functioning init next flow, no prompts
This commit is contained in:
@@ -3,7 +3,6 @@ import prompts from 'prompts'
|
||||
import type { CliArgs } from '../types.js'
|
||||
|
||||
export async function parseProjectName(args: CliArgs): Promise<string> {
|
||||
if (args['--init-next']) return '.'
|
||||
if (args['--name']) return args['--name']
|
||||
if (args._[0]) return args._[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user