@vxrn/takeout-cli
Version:
CLI tools for Takeout starter kit - interactive onboarding and project setup
19 lines • 697 B
TypeScript
/**
* Environment file operations
*/
export declare function generateSecret(length?: number): string;
export declare function envFileExists(cwd: string, filename?: string): boolean;
export declare function copyEnvFile(cwd: string, source: string, target: string): {
success: boolean;
error?: string;
};
export declare function updateEnvVariable(cwd: string, key: string, value: string, filename?: string): {
success: boolean;
error?: string;
};
export declare function createEnvLocal(cwd: string): {
success: boolean;
error?: string;
};
export declare function readEnvVariable(cwd: string, key: string, filename?: string): string | null;
//# sourceMappingURL=env.d.ts.map