Eval-friendly structured output helpers for pi renderers.
Summary
Functions
Wraps source code for syntax-highlighted rendering.
Converts a value to structured output when a renderer is available.
Wraps rows as a structured table output.
Wraps plain text output.
Wraps any value as a tree output.
Types
@type t() :: %Pi.Output{ parts: [Pi.Protocol.Tool.OutputPart.t()], text: String.t() | nil }
Functions
Wraps source code for syntax-highlighted rendering.
Converts a value to structured output when a renderer is available.
Wraps rows as a structured table output.
Wraps plain text output.
Wraps any value as a tree output.