github-pages-deploy-action/lib/execute.d.ts
2020-03-02 09:38:52 -05:00

9 lines
400 B
TypeScript

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