(
host: HostCliClient,
args: string[],
options: {
artifactName: string;
env?: NodeJS.ProcessEnv;
timeoutMs?: number;
},
)
| 87 | } |
| 88 | |
| 89 | async function command( |
| 90 | host: HostCliClient, |
| 91 | args: string[], |
| 92 | options: { |
| 93 | artifactName: string; |
| 94 | env?: NodeJS.ProcessEnv; |
| 95 | timeoutMs?: number; |
| 96 | }, |
| 97 | ): Promise<ShellProbeResult> { |
| 98 | return await host.command(process.execPath, [CLI_ENTRYPOINT, ...args], { |
| 99 | env: options.env ?? commandEnv(), |
| 100 | artifactName: options.artifactName, |
| 101 | timeoutMs: options.timeoutMs, |
| 102 | }); |
| 103 | } |
| 104 | |
| 105 | async function runOnboard( |
| 106 | host: HostCliClient, |
no test coverage detected