import { m as defineTask } from '../nitro/nitro.mjs';
import { l as loadConfig, s as setConfig } from '../_/config.mjs';
import 'node:http';
import 'node:https';
import 'node:crypto';
import 'events';
import 'http';
import 'stream';
import 'crypto';
import 'buffer';
import 'zlib';
import 'https';
import 'net';
import 'tls';
import 'url';
import 'node:fs';
import 'node:path';
import 'chokidar';
import 'anymatch';
import 'node:url';
import '../_/logger.mjs';
import 'consola/core';
import 'yaml';
import 'zod';

const update = defineTask({
  meta: {
    name: "config:update"
  },
  async run() {
    const config = await loadConfig();
    await setConfig(config);
    return {
      result: {}
    };
  }
});

export { update as default };
//# sourceMappingURL=update.mjs.map
