github-pages-deploy-action/lib/execute.d.ts
2020-03-31 08:48:28 -04:00

9 lines
387 B
TypeScript

/** Wrapper around the GitHub toolkit exec command which returns the output.
* Also allows you to easily toggle the current working directory.
*
* @param {string} cmd - The command to execute.
* @param {string} cwd - The current working directory.
*/
export declare function execute(cmd: string, cwd: string): Promise<any>;
export declare function stdout(data: any): string | void;