MCPcopy
hub / github.com/NVIDIA/NemoClaw / command

Function command

test/e2e/live/double-onboard.test.ts:89–103  ·  view source on GitHub ↗
(
  host: HostCliClient,
  args: string[],
  options: {
    artifactName: string;
    env?: NodeJS.ProcessEnv;
    timeoutMs?: number;
  },
)

Source from the content-addressed store, hash-verified

87}
88
89async 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
105async function runOnboard(
106 host: HostCliClient,

Callers 3

runOnboardFunction · 0.70

Calls 2

commandMethod · 0.80
commandEnvFunction · 0.70

Tested by

no test coverage detected