cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: BSD-3-Clause Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string) error

Run runs the CLI. The args do not include the binary name.

Types

type LoggerHook

type LoggerHook struct{}

LoggerHook displays the file & line the log comes from

func (LoggerHook) Run

func (h LoggerHook) Run(e *zerolog.Event, level zerolog.Level, msg string)

type PopConfig

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

PopConfig is the json config object we generate with the init command

Jump to

Keyboard shortcuts

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