termancy Guide Components Commands API

termancy

Zig libraries for command-line and terminal programs: commands and flags, layered configuration, terminal user interfaces, and the operating system around them, with a termancy program that scaffolds, records, and inspects.

Libraries

termterm - the terminal underneath cli and tui: what it can show, how wide text is, escape sequences both ways, styled text and its layout, and the terminal device itself.
fieldfield - what settings mean, shared by cli and cfg.
clicli - command-line applications from typed declarations.
cfgcfg - load, layer, query, decode, and write configuration.
tuitui - terminal user interfaces: an Elm-architecture program runner, key bindings, focus, and headless testing, on top of term (terminal control, styles, layout, input events), whose names are re-exported here so a program needs one import.
syssys - the operating system, as a command-line program needs it, grouped by concern: system, security, observability, distribution.