cmd

package
v0.0.0-...-bb9f68d Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OnErrorPanic = iota
	OnErrorFatal
	OnErrorLogAndContinue
	OnErrorPropigate /* Log and return the err */
)

Variables

View Source
var FS = &fs{}
View Source
var IsVerbose bool
View Source
var IsVverbose bool
View Source
var IsVvverbose bool
View Source
var IsVvvverbose bool

Functions

func Check

func Check(err error)

func Check2

func Check2(err error) bool

func CheckMsg

func CheckMsg(err error, msg string)

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.

func Kerbose

func Kerbose(s string)

func Kkerbose

func Kkerbose(s string)

func Kkkerbose

func Kkkerbose(s string)

func Kkkkerbose

func Kkkkerbose(s string)

func KronkEmbed

func KronkEmbed(pkgName, varName, filename string, dirs ...string) error

func KronkEmbed0

func KronkEmbed0(pkgName, varName, filename string) error

func MyDirName

func MyDirName() string

func MyFileName

func MyFileName() string

func Verbose

func Verbose(s string)

func Verbose0

func Verbose0(s string)

func Verprint

func Verprint(s string)

func Vverbose

func Vverbose(s string)

func Vvverbose

func Vvverbose(s string)

func Vvvverbose

func Vvvverbose(s string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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