package
0.0.16
Repository: https://github.com/linuxsuren/cobra-extension.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CreateTable init a table object.
CreateTableWithHeader init a table object.
Lenf counts the number.
NewCompletionCmd creates the completion command.
Pad give a pad.
PadCenter pad as center.
PadLeft pad as left.
PadRight pas as right.
ReflectFieldValueAsString returns the value of a field.

# Constants

AlignCenter align center.
AlignLeft align left.
AlignRight align right.
JSONOutputFormat is the format of json.
TableOutputFormat is the format of table.
YAMLOutputFormat is the format of yaml.

# Variables

ShellTypes contains all types of shell.

# Structs

OutputOption represent the format of output.
Table for console print.

# Interfaces

FormatOutput is the interface of format output.

# Type aliases

RenderCell render a specific cell in a table.