import { n as showCommandHelp } from "./cli-5jFRFVk6.mjs";
import process from "node:process";
import { defineCommand } from "citty";
//#region src/commands/release.ts
var release_default = defineCommand({
	meta: {
		name: "release",
		description: "Run the Changesets-based release workflow"
	},
	subCommands: {
		check: () => import("./check-B9akG2vT.mjs").then((module) => module.default),
		prepare: () => import("./prepare-CXHsZbMt.mjs").then((module) => module.default),
		publish: () => import("./publish-Dv53ay7M.mjs").then((module) => module.default),
		status: () => import("./status-xRB-IDQE.mjs").then((module) => module.default)
	},
	async run({ cmd }) {
		if (process.argv.slice(2).length > 1) return;
		await showCommandHelp(cmd);
		if (!process.exitCode) process.exit(0);
	}
});
//#endregion
export { release_default as default };

//# sourceMappingURL=release-CRpRjZBB.mjs.map