uimsg

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Confirm added in v1.0.0

type Confirm struct {
	Prompt string
	// contains filtered or unexported fields
}

func ConfigFileCreateConfirm added in v1.0.0

func ConfigFileCreateConfirm(path string, homeEnv string, recreate bool) Confirm

func ConfigFileDeleteConfirm added in v1.0.0

func ConfigFileDeleteConfirm(path string) Confirm

func ConfigFileMigrationConfirm added in v1.4.0

func ConfigFileMigrationConfirm(cfg string) Confirm

func ExecConfirm added in v1.4.0

func ExecConfirm(title string, command string) Confirm

func ManagerConfigAddConfirm added in v1.0.0

func ManagerConfigAddConfirm(cfg string) Confirm

func NewConfirm added in v1.0.0

func NewConfirm(prompt, header string) Confirm

func ThemesDeleteConfirm added in v1.0.0

func ThemesDeleteConfirm(path string) Confirm

func (*Confirm) HasTemplateHeader added in v1.0.0

func (c *Confirm) HasTemplateHeader() bool

func (*Confirm) Header added in v1.0.0

func (c *Confirm) Header(styler *style.Style, width int) string

type Printable added in v1.0.0

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

func ConfigFileCreateResult added in v1.0.0

func ConfigFileCreateResult(created bool, configPath string, recreate bool) Printable

func ConfigFileDeleteResult added in v1.0.0

func ConfigFileDeleteResult(deleted bool, configPath string) Printable

func ConfigFileMigrationResult added in v1.4.0

func ConfigFileMigrationResult(migrated bool, configPath string) Printable

func ConfigNeedsMigration added in v1.4.0

func ConfigNeedsMigration(current string, latest string) Printable

func ConfigNotFound

func ConfigNotFound(configPath string) Printable

func ExecPrint added in v1.4.0

func ExecPrint(title string, command string) Printable

func HomeDirectoryStillExists

func HomeDirectoryStillExists(configPath string) Printable

func ManagerAddConfigResult added in v1.0.0

func ManagerAddConfigResult(confirmed bool, cfgPath string) Printable

func ManagerOauthDeviceFlow added in v1.1.0

func ManagerOauthDeviceFlow(host string, code string) Printable

func ThemesDeleteResult added in v1.0.0

func ThemesDeleteResult(deleted bool, themesPath string) Printable

func (Printable) RenderWith added in v1.0.0

func (p Printable) RenderWith(styler *style.Style) string

Jump to

Keyboard shortcuts

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