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

Function annotateLine

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

Source from the content-addressed store, hash-verified

115 trailingSymbol: Doc.AnsiDoc
116) {
117 const annotateLine = (line: string): Doc.AnsiDoc => Doc.annotate(Doc.text(line), Ansi.bold)
118 const prefix = Doc.cat(leadingSymbol, Doc.space)
119 return Arr.match(message.split(NEWLINE_REGEX), {
120 onEmpty: () => Doc.hsep([prefix, trailingSymbol, confirm]),

Callers 1

renderPromptFunction · 0.70

Calls 2

annotateMethod · 0.65
textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…