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

Function serverTargetResumeFlag

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

Source from the content-addressed store, hash-verified

991 }).pipe(Effect.mapError(toError));
992
993const serverTargetResumeFlag = (
994 target: ServerTarget,
995 connection: ExecutorServerConnection,
996): string =>
997 target.serverName
998 ? `--server ${shellQuoteArg(target.serverName)}`
999 : `--base-url ${shellQuoteArg(target.baseUrl ?? connection.origin)}`;
1000
1001const printExecutionOutcome = (input: {
1002 target: ServerTarget;

Callers 1

printExecutionOutcomeFunction · 0.85

Calls 1

shellQuoteArgFunction · 0.90

Tested by

no test coverage detected