npmci/dist/npmci.bash.d.ts

16 lines
650 B
TypeScript
Raw Normal View History

export declare let nvmAvailable: boolean;
2016-12-10 21:43:14 +00:00
/**
* bash() allows using bash with nvm in path
2016-12-14 22:10:54 +00:00
* @param commandArg - The command to execute
* @param retryArg - The retryArg: 0 to any positive number will retry, -1 will always succeed, -2 will return undefined
2016-12-10 21:43:14 +00:00
*/
2016-06-07 01:59:47 +00:00
export declare let bash: (commandArg: string, retryArg?: number, bareArg?: boolean) => string;
2016-12-10 21:43:14 +00:00
/**
* bashBare allows usage of bash without sourcing any files like nvm
*/
export declare let bashBare: (commandArg: string, retryArg?: number) => string;
/**
* bashNoError allows executing stuff without throwing an error
*/
export declare let bashNoError: (commandArg: string) => string;