cmd

package
v0.0.0-...-50955ac Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   string
	BuildTime string
)

Functions

func Must

func Must(err error)

Must accepts an error in input, if the error is not nil it panics It helps to simplify code where no error is expected

func NewCollectCommand

func NewCollectCommand(logger *zap.Logger) *cobra.Command

func NewRootCommand

func NewRootCommand(zapAtomicLevel *zap.AtomicLevel) *cobra.Command

func NewVersionCommand

func NewVersionCommand(out io.Writer) *cobra.Command

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