Discover Packages
github.com/tnldotdev/tnl
internal
clioutput
package
Version:
v0.1.0-rc.42
Opens a new window with list of versions in this module.
Published: Nov 11, 2026
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package clioutput renders stable human-readable CLI diagrams.
CommandOf returns the nearest attached command context from a non-nil wrapper.
CommandTitle returns a canonical command title without argument placeholders.
Render returns a complete frame ending in one newline.
WrapCommand attaches command context to err.
Write renders frame to output with a blank line after its closing rail.
Block is content rendered inside a Frame.
Fields renders aligned label-value pairs.
Flow renders nodes connected vertically by v or x markers.
Section renders a titled divider followed by content.
Text renders wrapped prose.
Transition renders one healthy transition between two values.
Tree renders a hierarchy with ASCII branches.
Field is one label and value in an aligned field list.
FlowNode is one node in a vertical flow. Detail and Failure describe the
connection from this node to the next node.
Frame is one complete human-readable command result or diagnostic.
TreeNode is one node in an ASCII tree.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.