@johnlindquist/file-forge
Version:
File Forge is a powerful CLI tool for deep analysis of codebases, generating markdown reports to feed AI reasoning models.
20 lines • 549 B
JavaScript
import Conf from "conf";
import { APP_NAME } from "./constants.js";
// Default editor configuration
export const DEFAULT_EDITOR_CONFIG = {
command: "code",
skipEditor: false
};
// Single shared configuration instance
export const config = new Conf({
projectName: APP_NAME,
projectSuffix: '', // Prevent -nodejs suffix in config path
defaults: {
editor: DEFAULT_EDITOR_CONFIG
}
});
// Helper function to get the editor configuration
export function getConfig() {
return config;
}
//# sourceMappingURL=config.js.map