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

Function serverTargetResumeFlag

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

Source from the content-addressed store, hash-verified

1002 }).pipe(Effect.mapError(toError));
1003
1004const serverTargetResumeFlag = (
1005 target: ServerTarget,
1006 connection: ExecutorServerConnection,
1007): string =>
1008 target.serverName
1009 ? `--server ${shellQuoteArg(target.serverName)}`
1010 : `--base-url ${shellQuoteArg(target.baseUrl ?? connection.origin)}`;
1011
1012const printExecutionOutcome = (input: {
1013 target: ServerTarget;

Callers 1

printExecutionOutcomeFunction · 0.85

Calls 1

shellQuoteArgFunction · 0.90

Tested by

no test coverage detected