#!/usr/bin/env node
import "../../shared/src/dotenv.js";
import { parseOptions } from "../../shared/src/options.js";
import { ZERO_ENV_VAR_PREFIX } from "../../zero-cache/src/config/zero-config.js";
import { createLogContext } from "../../shared/src/logging.js";
import { decommissionOptions, decommissionZero } from "../../zero-cache/src/scripts/decommission.js";
//#region src/zero-out.ts
async function main() {
	const config = parseOptions(decommissionOptions, { envNamePrefix: ZERO_ENV_VAR_PREFIX });
	await decommissionZero(createLogContext(config), config);
}
main();
//#endregion
export {};

//# sourceMappingURL=zero-out.js.map