import { Command } from "commander";
//#region src/cli/commands/gateway/restart.ts
/**
* Create restart subcommand - delegates to daemon lifecycle core
*/
function createRestartCommand() {
	return new Command("restart").description("Restart the gateway service").option("--wait <timeout>", "Wait for health after restart (e.g. \"30s\", \"1m\")").option("--json", "Output JSON").action(async (options) => {
		const { runDaemonRestart } = await import("./lifecycle.js");
		await runDaemonRestart(options);
	});
}
//#endregion
export { createRestartCommand };

//# sourceMappingURL=restart.js.map