cmd

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = &lumberjack.Logger{
	Filename:   filepath.Join(os.TempDir(), "edu.log"),
	MaxSize:    25,
	MaxBackups: 10,
	MaxAge:     365,
	Compress:   false,
}

Logger for the cmd package

Functions

func Execute

func Execute() (err error)

Execute will execute the root comand on the cli

func Stop

func Stop(message interface{})

Stop will print to stderr and exit with status 1

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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