Directories
¶
| Path | Synopsis |
|---|---|
|
Package app wraps cobra so terminull apps never touch it directly.
|
Package app wraps cobra so terminull apps never touch it directly. |
|
Package box renders framed boxes around arbitrary text: rounded, hard, double, and ascii corners, an optional title in the top border, padding, and width fitting or wrapping.
|
Package box renders framed boxes around arbitrary text: rounded, hard, double, and ascii corners, an optional title in the top border, padding, and width fitting or wrapping. |
|
cmd
|
|
|
terminull
command
|
|
|
Package config loads layered configuration for terminull apps.
|
Package config loads layered configuration for terminull apps. |
|
Package core holds process-wide primitives shared by every terminull app:
|
Package core holds process-wide primitives shared by every terminull app: |
|
examples
|
|
|
termtable
command
Command termtable-demo renders the same table in every termtable style.
|
Command termtable-demo renders the same table in every termtable style. |
|
internal
|
|
|
generator
Package generator scaffolds new terminull projects: a go.mod, a main package wiring the framework, sample commands using logger/tables, and a README.
|
Package generator scaffolds new terminull projects: a go.mod, a main package wiring the framework, sample commands using logger/tables, and a README. |
|
terminull
Package terminull wires the terminull CLI itself: the project generator.
|
Package terminull wires the terminull CLI itself: the project generator. |
|
Package output prints command results: tables, JSON, YAML, ASCII graphs, human sizes, and shell-split command lines.
|
Package output prints command results: tables, JSON, YAML, ASCII graphs, human sizes, and shell-split command lines. |
|
Package pager pages long output through $PAGER (less by default) on capable terminals, and passes writers through untouched everywhere else (pipes, dumb terminals, missing pager).
|
Package pager pages long output through $PAGER (less by default) on capable terminals, and passes writers through untouched everywhere else (pipes, dumb terminals, missing pager). |
|
Package progress owns spinners and bars.
|
Package progress owns spinners and bars. |
|
Package prompt asks one-shot questions: selects, confirms, inputs.
|
Package prompt asks one-shot questions: selects, confirms, inputs. |
|
Package render is terminull's hierarchical log renderer.
|
Package render is terminull's hierarchical log renderer. |
|
renderers
Package renderers provides LogRendered implementations: SimpleRenderer for linear CI-safe output, InteractiveRenderer for the live tree, StubRenderer for silence, and CI fold decorators.
|
Package renderers provides LogRendered implementations: SimpleRenderer for linear CI-safe output, InteractiveRenderer for the live tree, StubRenderer for silence, and CI fold decorators. |
|
renderers/config
Package config tunes the interactive renderer: spinner frames, status glyphs, refresh rate, and failure output visibility.
|
Package config tunes the interactive renderer: spinner frames, status glyphs, refresh rate, and failure output visibility. |
|
renderers/internal/console
Package console abstracts per-OS terminal setup: ANSI enablement on Windows, height queries on Unix.
|
Package console abstracts per-OS terminal setup: ANSI enablement on Windows, height queries on Unix. |
|
renderers/internal/node
Package node implements the goroutine-safe tree node behind the interactive renderer.
|
Package node implements the goroutine-safe tree node behind the interactive renderer. |
|
terminal
Package terminal holds low-level output primitives: color schemas and incremental VT100 redraws.
|
Package terminal holds low-level output primitives: color schemas and incremental VT100 redraws. |
|
utils
Package utils holds small formatting helpers for renderers.
|
Package utils holds small formatting helpers for renderers. |
|
Package retry reruns fallible operations (network calls, toolchain runs) with capped attempts and backoff.
|
Package retry reruns fallible operations (network calls, toolchain runs) with capped attempts and backoff. |
|
Package static prints framework-owned, out-only text: the app banner and the version line.
|
Package static prints framework-owned, out-only text: the app banner and the version line. |
|
Package style is the single place that decides how text looks.
|
Package style is the single place that decides how text looks. |
|
Package termimage renders images to terminals.
|
Package termimage renders images to terminals. |
|
Package termtable renders tabular data in five built-in styles: bordered (unicode box, default), rounded, ascii, markdown, and borderless padded columns for scripts.
|
Package termtable renders tabular data in five built-in styles: bordered (unicode box, default), rounded, ascii, markdown, and borderless padded columns for scripts. |
|
internal/table
Package table renders tables for termtable: a grid family (unicode, rounded, ascii, markdown) and borderless padded columns.
|
Package table renders tables for termtable: a grid family (unicode, rounded, ascii, markdown) and borderless padded columns. |
Click to show internal directories.
Click to hide internal directories.