import { defineCommand, arg } from "politty"; import { z } from "zod"; import { executeCommand } from "../lib/command-result"; import { runInit } from "./init"; export const initCommand = defineCommand({ name: "init", description: "First-time setup for a consumer repo", args: z.object({ name: arg(z.string(), { positional: true, description: "Project name", }), }), run: (args) => { return executeCommand(() => runInit(args.name, process.cwd())); }, });