Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedOutputFormats = []string{"table", "json", "json_pretty", "yaml"}
Functions ¶
func NewContext ¶
func NewEncryptionKey ¶
Types ¶
type Options ¶
type Options struct { Migrate bool Verbose bool InitRegistry bool NonInteractive bool OutputFormat string Registry *persistency.Registry //will be initialized during CLI bootstrap in main.go // contains filtered or unexported fields }
func (*Options) InitApplicationRegistry ¶
func (*Options) Logger ¶
func (o *Options) Logger() *zap.SugaredLogger
type OutputFormatter ¶
type OutputFormatter struct {
// contains filtered or unexported fields
}
func NewOutputFormatter ¶
func NewOutputFormatter(format string) (*OutputFormatter, error)
func (*OutputFormatter) AddRow ¶
func (of *OutputFormatter) AddRow(data ...interface{}) error
func (*OutputFormatter) Header ¶
func (of *OutputFormatter) Header(header ...string) error
Click to show internal directories.
Click to hide internal directories.