import { n as showCommandHelp } from "./cli-B86kvKcR.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-CdJwydNM.mjs").then((module) => module.default),
		prepare: () => import("./prepare-EKfvKsQu.mjs").then((module) => module.default),
		publish: () => import("./publish-DJ8GAFrL.mjs").then((module) => module.default),
		status: () => import("./status-Cid2Kbgz.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-B4-HPBTa.mjs.map