- runCreateCLI(
options: RunCLIOptions,
launchCLI?: (options: { moduleURL: string }) => Promise<void>,
argv?: string[],
env?: ProcessEnv,
versions?: ProcessVersions,
): Promise<void> Parameters
- options: RunCLIOptions
- launchCLI: (options: { moduleURL: string }) => Promise<void> = defaultLaunchCli
- argv: string[] = process.argv
- env: ProcessEnv = process.env
- versions: ProcessVersions = process.versions
Returns Promise<void>
A function for create-x CLIs that automatically runs the "init" command.