MCPcopy Create free account
hub / github.com/Effect-TS/effect / logCurrentCommand

Function logCurrentCommand

packages/effect/src/unstable/cli/internal/wizard.ts:219–220  ·  view source on GitHub ↗
(commandLine: ReadonlyArray<string>)

Source from the content-addressed store, hash-verified

217}
218
219const logCurrentCommand = (commandLine: ReadonlyArray<string>): Effect.Effect<void> =>
220 Console.log(renderCommandBlock("Current command", commandLine, Ansi.magenta))
221
222const renderSection = (commandName: string, section: string): string =>
223 `${Ansi.annotate(commandName.toUpperCase(), Ansi.bold, Ansi.cyanBright)} ${Ansi.annotate("·", Ansi.blackBright)} ${

Callers 1

wizard.tsFile · 0.85

Calls 2

renderCommandBlockFunction · 0.85
logMethod · 0.65

Tested by

no test coverage detected