opts

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MenuUpdateTime = 12 * time.Hour

MenuUpdateTime is the time a menu is persistant in cache

Variables

This section is empty.

Functions

This section is empty.

Types

type ApizzaFlags

type ApizzaFlags struct {
	StoreLocation bool

	// developer opts
	Openlogs bool
	Dumpdb   bool
}

ApizzaFlags that are not persistant.

func (*ApizzaFlags) Install

func (af *ApizzaFlags) Install(flags *pflag.FlagSet)

Install the apizza flags

type CliFlags

type CliFlags struct {
	Address string
	Service string

	ClearCache bool
	ResetMenu  bool
	LogFile    string
}

CliFlags for the root apizza command.

func (*CliFlags) Install

func (rf *CliFlags) Install(persistflags *pflag.FlagSet)

Install the RootFlags

Jump to

Keyboard shortcuts

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