MCPcopy Index your code
hub / github.com/Effect-TS/effect / annotateLine

Function annotateLine

packages/cli/src/internal/prompt/toggle.ts:54–54  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

52 options: ToggleOptions
53) {
54 const annotateLine = (line: string): Doc.AnsiDoc => Doc.annotate(Doc.text(line), Ansi.bold)
55 const promptLines = options.message.split(/\r?\n/)
56 const prefix = Doc.cat(leadingSymbol, Doc.space)
57 if (Arr.isNonEmptyReadonlyArray(promptLines)) {

Callers 1

renderOutputFunction · 0.70

Calls 2

annotateMethod · 0.65
textMethod · 0.45

Tested by

no test coverage detected