package
Version:
v1.5.0
Opens a new window with list of versions in this module.
Published: Jul 16, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
FlagName = "columns"
MaxColumnWidth = 40
)
AddFlags adds custom text-column selection to a command flag set.
Project converts raw structured output into headers and text rows.
Render writes a plain, aligned table with display-width-aware truncation.
RenderAutoWidth detects the output terminal width and falls back to 120
columns when the output does not expose a terminal file descriptor.
Column is a user-selected text column and its compiled field path.
Parse compiles repeated or comma-separated HEADER=.field specifications.
Resolve reads and validates custom columns from cmd. An empty result means
the command should use its built-in text columns.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.