import { n as showCommandHelp } from "./cli-B86kvKcR.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-B4p9zRXY.mjs").then((module) => module.applyCommand),
		check: () => import("./check-D0ivl-LW.mjs").then((module) => module.default),
		sync: () => import("./upstream-B4p9zRXY.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-CpmYQLEm.mjs.map