cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	RootCmd *cobra.Command
	// contains filtered or unexported fields
}

Runner houses the logging and rootcommand for all

func New

func New(logger *log.Logger, debugLogger *log.Logger) *Runner

New creates a instance of Runner with defaults for logger and defaultLogger in case they are not provided.

Jump to

Keyboard shortcuts

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