state

package
v0.0.0-...-277eb20 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Locale      string
	Version     bool
	ConfirmExit bool
}

func NewOptions

func NewOptions() *Options

type State

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

func New

func New(opts *Options, prime primeable) *State

func (*State) Run

func (s *State) Run(usageFunc func() error) error

Jump to

Keyboard shortcuts

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