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

Function toAnsiDoc

packages/cli/src/internal/helpDoc.ts:130–131  ·  view source on GitHub ↗
(self: HelpDoc.HelpDoc)

Source from the content-addressed store, hash-verified

128
129/** @internal */
130export const toAnsiDoc = (self: HelpDoc.HelpDoc): Doc.AnsiDoc =>
131 Optimize.optimize(toAnsiDocInternal(self), Optimize.Deep)
132
133/** @internal */
134export const toAnsiText = (self: HelpDoc.HelpDoc): string => Doc.render(toAnsiDoc(self), { style: "pretty" })

Callers 1

toAnsiTextFunction · 0.70

Calls 1

toAnsiDocInternalFunction · 0.85

Tested by

no test coverage detected