cli

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: BSD-3-Clause Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Version is set via the Go linker. See Makefile.

Functions

func FileExists

func FileExists(path string) bool

Types

type Flags

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

func (*Flags) Init

func (f *Flags) Init(all ...Initializer) (context.Context, context.CancelFunc, error)

func (*Flags) SetFlags

func (f *Flags) SetFlags(fs *flag.FlagSet)

type Initializer

type Initializer interface {
	Init() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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