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

cli

package
v0.4.0-mvp3-rc Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRoot

func NewRoot(deps Dependencies) *appcli.Command

Types

type ConfigStore

type ConfigStore interface {
	Load() (config.Config, error)
	Save(config.Config) error
	Get(string) (string, error)
	Set(string, string) error
}

type CredentialStore

type CredentialStore interface {
	Get(string) (string, error)
	Set(string, string) error
	Delete(string) error
}

type Dependencies

type Dependencies struct {
	Config        ConfigStore
	Credentials   CredentialStore
	BrowserOpener browser.Opener
	In            io.Reader
	Out           io.Writer
	Err           io.Writer
	HTTPClient    *http.Client
	Version       string
	Commit        string
	BuildDate     string
}

Jump to

Keyboard shortcuts

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