cmd

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Logger added in v0.6.0

type Logger struct {
	// contains filtered or unexported fields
}

func NewLogger added in v0.6.0

func NewLogger() Logger

func (*Logger) Debugf added in v0.6.0

func (logger *Logger) Debugf(format string, args ...interface{})

func (*Logger) Errorf added in v0.6.0

func (logger *Logger) Errorf(format string, args ...interface{})

func (*Logger) Infof added in v0.6.0

func (logger *Logger) Infof(format string, args ...interface{})

Jump to

Keyboard shortcuts

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