glu-cli
Version:
Git stacked branch management with GitHub integration
34 lines • 1.03 kB
TypeScript
import type { GluConfig, PartialGluConfig } from "./schema.js";
/**
* Load configuration from files with fallback to defaults
*/
export declare function loadConfig(): GluConfig;
/**
* Save configuration to user config file
*/
export declare function saveConfig(config: PartialGluConfig): void;
/**
* Get a specific config value with dot notation support
*/
export declare function getConfigValue(key: string): any;
/**
* Set a specific config value with dot notation support
*/
export declare function setConfigValue(key: string, value: any): void;
/**
* Deep merge two config objects
*/
export declare function mergeConfig(base: GluConfig, override: PartialGluConfig): GluConfig;
/**
* Reset configuration to defaults
*/
export declare function resetConfig(): void;
/**
* Get the path of the currently loaded config file
*/
export declare function getConfigPath(): string | null;
/**
* Clear config cache (useful for testing)
*/
export declare function clearConfigCache(): void;
//# sourceMappingURL=index.d.ts.map