Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TablePrinter ¶
type TablePrinter interface { IsTTY() bool AddField(string, func(int, string) string, func(string) string) EndRow() Render() error }
func NewTablePrinter ¶
func NewTablePrinter(ctx context.Context) TablePrinter
func NewTablePrinterWithOptions ¶
func NewTablePrinterWithOptions(ctx context.Context, opts TablePrinterOptions) TablePrinter
type TablePrinterOptions ¶
type TablePrinterOptions struct {
IsTTY bool
}
Click to show internal directories.
Click to hide internal directories.