(
rootPath: string,
hostProfileId?: string,
)
| 79 | const commandDeps = { ...defaultRuntimeHostRunCommandDeps(), ...commandOverrides }; |
| 80 | let connected: RuntimeHostCliConnectionContext | undefined; |
| 81 | const connect = async ( |
| 82 | rootPath: string, |
| 83 | hostProfileId?: string, |
| 84 | ): Promise<RuntimeHostCliConnectionContext> => { |
| 85 | connected ??= await commandDeps.connect(rootPath, hostProfileId, options.clientDataRoot); |
| 86 | return connected; |
| 87 | }; |
| 88 | try { |
| 89 | return await commandDeps.run( |
| 90 | argv, |
no test coverage detected