//#region src/config/commands.flags.ts
function isRestartEnabled(config) {
	const commands = config?.commands;
	if (!commands || typeof commands !== "object" || Array.isArray(commands)) return true;
	if (!Object.prototype.hasOwnProperty.call(commands, "restart")) return true;
	return commands.restart !== false;
}
//#endregion
export { isRestartEnabled };

//# sourceMappingURL=commands.flags.js.map