Documentation
¶
Index ¶
- Constants
- func NewTable(headers []string) *table
- func WriteError(msg string, args ...interface{})
- func WriteFatal(msg string, args ...interface{})
- func WriteInfo(msg string, args ...interface{})
- func WriteJSON(output interface{})
- func WriteSuccess(msg string, args ...interface{})
- func WriteWarning(msg string, args ...interface{})
- func WriteYAML(output interface{})
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func NewTable ¶
func NewTable(headers []string) *table
NewTable creates a new table with the given headers
func WriteError ¶
func WriteError(msg string, args ...interface{})
func WriteFatal ¶
func WriteFatal(msg string, args ...interface{})
func WriteJSON ¶
func WriteJSON(output interface{})
WriteJSON writes the given output as pretty printed JSON to stdout
func WriteSuccess ¶
func WriteSuccess(msg string, args ...interface{})
func WriteWarning ¶
func WriteWarning(msg string, args ...interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.