Documentation ¶
Overview ¶
Package tables is a collection of functions that generate tables for the CLI
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TableOutputWriter ¶
type TableOutputWriter interface { SetHeaders(headers ...string) AddRow(items ...interface{}) Render() RowCount() int }
TableOutputWriter is the interface to write out tables
func NewTableWriter ¶
func NewTableWriter(output io.Writer, headers ...string) TableOutputWriter
NewTableWriter gets a new instance of our table output writer
Click to show internal directories.
Click to hide internal directories.