import { A as defaultRuntime } from "./entry.js";
import "./federation-8sW60I4p.js";
import { n as runCommandWithRuntime } from "./cli-utils-XevKf-tr.js";
import { t as managedUpCommand } from "./managed-up-DhYefvn4.js";

//#region src/cli/program/register.managed.ts
function registerManagedCommand(program) {
	program.command("managed").description("Managed public startup helpers").command("up").description("Run managed startup lifecycle (gateway + federation + tunnel + wallet checks)").option("--json", "Print managed preflight summary and exit", false).action(async (opts) => {
		await runCommandWithRuntime(defaultRuntime, async () => {
			await managedUpCommand(defaultRuntime, { json: Boolean(opts.json) });
		});
	});
}

//#endregion
export { registerManagedCommand };