launch-ide
Version:
Automatically recognize the editor by running processes and open the specified file in it.
9 lines (8 loc) • 384 B
TypeScript
export declare function getEnvVariables(rootDir: string): Record<string, string>;
export declare function getEnvVariable(variable: string, rootDir: string): string | null;
/**
* check if command exists
* @param {string} command - the command to check
* @returns {boolean} true if command exists, false otherwise
*/
export declare function commandExists(command: string): boolean;