package
0.13.1
Repository: https://github.com/axiomhq/cli.git
Documentation: pkg.go.dev

# Functions

FormatFromString parses a supported Format from its string representation.
Formats returns all supported formats.
FormatToJSON formats the given data in JSON format.
FormatToTable formats in Table format using the given BuilderFunc's.

# Constants

json.
table.

# Interfaces

TableRowBuilder provides methods for building table rows.

# Type aliases

Format is an output format.
HeaderBuilderFunc allows building of a tables header by providing a TableRowBuilder and the raw io.Writer for using generic formatting functions like fmt.Fprintf().
RowBuilderFunc allows building of a tables content row by providing a TableRowBuilder and the id of the record to format.