cli

package
Version: v0.0.0-...-fbf2e05 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: BSD-3-Clause Imports: 25 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 {

	// Exported fields can be set by survey.Ask
	Bootstrap    string `json:"bootstrap"`
	Capacity     string `json:"capacity"`
	MaxPPB       int    `json:"maxppb"`
	FilEndpoint  string `json:"fil-endpoint"`
	FilToken     string `json:"fil-token"`
	FilTokenType string `json:"fil-token-type"`
	// 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL