(
command: DaemonCommandName,
options: InternalRequestOptions = {},
)
| 92 | }; |
| 93 | |
| 94 | const executeCommand = async <T>( |
| 95 | command: DaemonCommandName, |
| 96 | options: InternalRequestOptions = {}, |
| 97 | ): Promise<T> => { |
| 98 | const request = prepareDaemonCommandRequest(command, options); |
| 99 | return (await execute( |
| 100 | request.command, |
| 101 | request.positionals, |
| 102 | request.options, |
| 103 | request.metadataFlags, |
| 104 | )) as T; |
| 105 | }; |
| 106 | |
| 107 | const resolveRequestSession = (options: InternalRequestOptions = {}) => |
| 108 | resolveSessionName(mergeClientOptions(config, options).session); |
no test coverage detected