mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-12-24 05:04:26 +00:00
13 lines
610 B
TypeScript
13 lines
610 B
TypeScript
import { ExecOptions } from './interfaces';
|
|
export { ExecOptions };
|
|
/**
|
|
* Exec a command.
|
|
* Output will be streamed to the live console.
|
|
* Returns promise with return code
|
|
*
|
|
* @param commandLine command to execute (can include additional args). Must be correctly escaped.
|
|
* @param args optional arguments for tool. Escaping is handled by the lib.
|
|
* @param options optional exec options. See ExecOptions
|
|
* @returns Promise<number> exit code
|
|
*/
|
|
export declare function exec(commandLine: string, args?: string[], options?: ExecOptions): Promise<number>;
|