ui

module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2026 License: Apache-2.0

README

ui

A collection of small UI helpers for building Choria command line tools.

Packages

Package Description
columns Build aligned, columnar CLI output line by line and render it to text, JSON, YAML or Markdown.
table Render tabular CLI output on top of go-pretty as text, Markdown, JSON or YAML.

The two compose: a table.Table can be embedded directly into a columns.Document via Item, rendering in whichever format the document is rendered to.

License

Apache-2.0, part of the Choria project.

Directories

Path Synopsis
Package columns builds aligned, columnar CLI output.
Package columns builds aligned, columnar CLI output.
internal
util
Package util holds formatting, sanitization and environment helpers shared by the columns and table packages so neither has to depend on the other.
Package util holds formatting, sanitization and environment helpers shared by the columns and table packages so neither has to depend on the other.
Package table renders tabular CLI output on top of go-pretty.
Package table renders tabular CLI output on top of go-pretty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL