MCPcopy Create free account
hub / github.com/different-ai/opencode-browser / saveConfig

Function saveConfig

bin/cli.js:324–327  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

322}
323
324function saveConfig(config) {
325 ensureDir(BASE_DIR);
326 writeFileSync(CONFIG_DST, JSON.stringify(config, null, 2) + "\n");
327}
328
329async function main() {
330 const command = process.argv[2];

Callers 2

installFunction · 0.85
updateFunction · 0.85

Calls 1

ensureDirFunction · 0.85

Tested by

no test coverage detected