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-CUNxdY6b.mjs").then((module) => module.default),
		publish: () => import("./publish-D-t4j0Z8.mjs").then((module) => module.default),
		status: () => import("./status-DxwEDTh2.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-DwEzmo1G.mjs.map