import { createProject } from "../internal/cli/project-creation"; import { task } from "../internal/core/config/config-env"; import { TASK_INIT } from "./task-names"; export default function (): void { task(TASK_INIT, "Initializes a new project in the given directory") .addPositionalParam("newProjectLocation", "Location of the new project") .setAction(async ({ newProjectLocation }: { newProjectLocation: string }, _) => { await createProject(newProjectLocation); }); }