@sprucelabs/spruce-skill-utils
Version: 
Loosely coupled classes and functions to make skill development faster! 🏎
15 lines (14 loc) • 400 B
TypeScript
import { EnvValue } from '../types/skill.types';
export default class EnvService {
    private cwd;
    constructor(cwd: string);
    set(key: string, value: EnvValue): void;
    private writeConfig;
    get(key: string): EnvValue | undefined;
    private coerceType;
    unset(key: string): void;
    private parseEnv;
    private generateValueLiteral;
    private escape;
    private getEnvPath;
}