UNPKG

mycoder

Version:

A command line tool using agent that can do arbitrary tasks, including coding tasks

11 lines 341 B
import * as fs from 'fs'; import * as os from 'os'; import * as path from 'path'; const settingsDir = path.join(os.homedir(), '.mycoder'); export const getSettingsDir = () => { if (!fs.existsSync(settingsDir)) { fs.mkdirSync(settingsDir, { recursive: true }); } return settingsDir; }; //# sourceMappingURL=settings.js.map