github-pages-deploy-action/lib/execute.d.ts

10 lines
486 B
TypeScript
Raw Normal View History

2020-03-02 22:38:52 +08:00
/** Wrapper around the GitHub toolkit exec command which returns the output.
* Also allows you to easily toggle the current working directory.
2020-03-31 20:48:28 +08:00
*
* @param {string} cmd - The command to execute.
* @param {string} cwd - The current working directory.
2020-06-27 02:01:06 +08:00
* @param {boolean} silent - Determines if the in/out should be silenced or not.
2020-03-02 22:38:52 +08:00
*/
2020-06-27 02:01:06 +08:00
export declare function execute(cmd: string, cwd: string, silent?: boolean): Promise<any>;
2020-03-07 11:45:40 +08:00
export declare function stdout(data: any): string | void;