Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
terminull
command
|
|
|
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 termapp wraps its owned CLI engine so terminull apps never touch it directly.
|
Package termapp wraps its owned CLI engine so terminull apps never touch it directly. |
|
internal/cli
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.
|
Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces. |
|
internal/cli/pflag
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
|
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags. |
|
Package termbox 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 termbox 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 termconfig loads layered configuration for terminull apps.
|
Package termconfig loads layered configuration for terminull apps. |
|
internal/koanf/confmap
Package confmap implements a koanf.Provider that takes nested and flat map[string]any config maps and provides them to koanf.
|
Package confmap implements a koanf.Provider that takes nested and flat map[string]any config maps and provides them to koanf. |
|
internal/koanf/env
Package env implements a koanf.Provider that reads environment variables as conf maps.
|
Package env implements a koanf.Provider that reads environment variables as conf maps. |
|
internal/koanf/file
Package file implements a koanf.Provider that reads raw bytes from files on disk to be used with a koanf.Parser to parse into conf maps.
|
Package file implements a koanf.Provider that reads raw bytes from files on disk to be used with a koanf.Parser to parse into conf maps. |
|
internal/koanf/maps
Package maps provides reusable functions for manipulating nested map[string]interface{} maps are common unmarshal products from various serializers such as json, yaml etc.
|
Package maps provides reusable functions for manipulating nested map[string]interface{} maps are common unmarshal products from various serializers such as json, yaml etc. |
|
internal/koanf/yaml
Package yaml implements a koanf.Parser that parses YAML bytes as conf maps.
|
Package yaml implements a koanf.Parser that parses YAML bytes as conf maps. |
|
internal/mapstructure
Package mapstructure exposes functionality to convert one arbitrary Go type into another, typically to convert a map[string]any into a native Go structure.
|
Package mapstructure exposes functionality to convert one arbitrary Go type into another, typically to convert a map[string]any into a native Go structure. |
|
internal/reflectwalk
reflectwalk is a package that allows you to "walk" complex structures similar to how you may "walk" a filesystem: visiting every element one by one and calling callback functions allowing you to handle and manipulate those elements.
|
reflectwalk is a package that allows you to "walk" complex structures similar to how you may "walk" a filesystem: visiting every element one by one and calling callback functions allowing you to handle and manipulate those elements. |
|
Package termcore holds process-wide primitives shared by every terminull app:
|
Package termcore holds process-wide primitives shared by every terminull app: |
|
internal/isatty
Package isatty implements interface to isatty
|
Package isatty implements interface to isatty |
|
internal/shlex
Package shlex implements a simple lexer which splits input in to tokens using shell-style rules for quoting and commenting.
|
Package shlex implements a simple lexer which splits input in to tokens using shell-style rules for quoting and commenting. |
|
internal/uax29/graphemes
Package graphemes implements Unicode grapheme cluster boundaries: https://unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries
|
Package graphemes implements Unicode grapheme cluster boundaries: https://unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries |
|
Package termimage renders images to terminals.
|
Package termimage renders images to terminals. |
|
Package termoutput prints command results: tables, JSON, YAML, ASCII graphs, human sizes, and shell-split command lines.
|
Package termoutput prints command results: tables, JSON, YAML, ASCII graphs, human sizes, and shell-split command lines. |
|
internal/humanize
Package humanize converts boring ugly numbers to human-friendly strings and back.
|
Package humanize converts boring ugly numbers to human-friendly strings and back. |
|
Package termpager pages long output through $PAGER (less by default) on capable terminals, and passes writers through untouched everywhere else (pipes, dumb terminals, missing pager).
|
Package termpager pages long output through $PAGER (less by default) on capable terminals, and passes writers through untouched everywhere else (pipes, dumb terminals, missing pager). |
|
Package termprogress owns spinners and bars.
|
Package termprogress owns spinners and bars. |
|
Package termprompt asks one-shot questions: selects, confirms, inputs.
|
Package termprompt asks one-shot questions: selects, confirms, inputs. |
|
internal/lineedit
Package liner implements a simple command line editor, inspired by linenoise (https://github.com/antirez/linenoise/).
|
Package liner implements a simple command line editor, inspired by linenoise (https://github.com/antirez/linenoise/). |
|
Package termrender is terminull's hierarchical log renderer.
|
Package termrender 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/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 termretry reruns fallible operations (network calls, toolchain runs) with capped attempts and backoff.
|
Package termretry reruns fallible operations (network calls, toolchain runs) with capped attempts and backoff. |
|
internal/retry
Simple library for retry mechanism
|
Simple library for retry mechanism |
|
Package termstatic prints framework-owned, out-only text: the app banner and the version line.
|
Package termstatic prints framework-owned, out-only text: the app banner and the version line. |
|
Package termstyle is the single place that decides how text looks.
|
Package termstyle is the single place that decides how text looks. |
|
internal/color
Package color is an ANSI color package to output colorized or SGR defined output to the standard output.
|
Package color is an ANSI color package to output colorized or SGR defined output to the standard output. |
|
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.