Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExit = errors.New("Exit")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	config.Config
	Success bool `yaml:"success"`
}

func ParseConfig

func ParseConfig(args []string, stdout, stderr io.Writer) (*Config, error)

type ConfigSet

type ConfigSet struct {
	Presets map[string]*Config `yaml:"presets"`
}

func LoadConfigSet

func LoadConfigSet(path string) (*ConfigSet, error)

func (*ConfigSet) Find

func (c *ConfigSet) Find(name string) (*Config, bool)

Jump to

Keyboard shortcuts

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