mirror of
https://github.com/toddbluhm/env-cmd.git
synced 2025-12-08 18:23:33 +00:00
16 lines
351 B
TypeScript
16 lines
351 B
TypeScript
/**
|
|
* Gets the env vars from the rc file and rc environments
|
|
*/
|
|
export declare function getRCFileVars({ environments, filePath }: {
|
|
environments: string[];
|
|
filePath: string;
|
|
}): Promise<{
|
|
[key: string]: any;
|
|
}>;
|
|
/**
|
|
* Reads and parses the .rc file
|
|
*/
|
|
export declare function parseRCFile(fileData: string): {
|
|
[key: string]: any;
|
|
};
|