cmd

package
v1.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2020 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command.

func Fatal

func Fatal(err error, args ...interface{})

Fatal prints a fatal error to stdout, and exits immediately with error code 1.

func Message

func Message(format string, args ...interface{})

Message prints a message to stdout.

func RenderTable

func RenderTable(writer io.Writer, header []string, data [][]string)

RenderTable renders a table with header columns and data rows to writer.

func Success

func Success(format string, args ...interface{})

Success prints a success message to stdout.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL