MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / serverTargetResumeFlag

Function serverTargetResumeFlag

apps/cli/src/main.ts:1018–1024  ·  view source on GitHub ↗
(
  target: ServerTarget,
  connection: ExecutorServerConnection,
)

Source from the content-addressed store, hash-verified

1016 }).pipe(Effect.mapError(toError));
1017
1018const serverTargetResumeFlag = (
1019 target: ServerTarget,
1020 connection: ExecutorServerConnection,
1021): string =>
1022 target.serverName
1023 ? `--server ${shellQuoteArg(target.serverName)}`
1024 : `--base-url ${shellQuoteArg(target.baseUrl ?? connection.origin)}`;
1025
1026const printExecutionOutcome = (input: {
1027 target: ServerTarget;

Callers 1

printExecutionOutcomeFunction · 0.85

Calls 1

shellQuoteArgFunction · 0.90

Tested by

no test coverage detected