import { Command } from "commander"; import z from "zod"; import { apply } from "./apply"; import { revert } from "./revert"; export const migrateOptionsSchema = z.object({ directory: z.string().optional().default(process.cwd()) }); export const migrate = new Command() .name("migrate") .description( "Manage infrastructure migrations for applying and reverting infrastructure changes" ) .addCommand(apply) .addCommand(revert);