import { n as showCommandHelp } from "./cli-5jFRFVk6.mjs";
import process from "node:process";
import { defineCommand } from "citty";
//#region src/commands/catalog/block.ts
var block_default = defineCommand({
	meta: {
		name: "block",
		description: "Validate and update catalog blocks"
	},
	subCommands: {
		apply: () => import("./upstream-C5-3IUTF.mjs").then((module) => module.applyCommand),
		check: () => import("./check-BDGT_3zQ.mjs").then((module) => module.default),
		sync: () => import("./upstream-C5-3IUTF.mjs").then((module) => module.syncCommand)
	},
	async run({ cmd }) {
		if (process.argv.slice(2).length > 2) return;
		await showCommandHelp(cmd);
		if (!process.exitCode) process.exit(0);
	}
});
//#endregion
export { block_default as default };

//# sourceMappingURL=block-DmS_WVSZ.mjs.map