• A function for create-x CLIs that automatically runs the "init" command.

    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>