Versions in this module Expand all Collapse all v0 v0.1.6 May 9, 2024 Changes in this version + func CheckCommand(prefix, value string) (has bool, err error) + func ExecuteCommand(prefix, bin string, value []string, pipe bool) (err error) + func ExistApplications(prefix, value string) (has bool, err error) + func ExistPath(prefix, base, value string) (has bool, err error) + func FilterAppendEnv(prefix string, envs []*Env) (export []string) + func GetCurrentProfile(prefix string) (profile string, err error) + func GetHomeDir(prefix string) (homeDir string, e error) + func InstallByBrew(prefix, cmd string) (err error) + func LogFormatted(format string, parameters ...interface{}) (err error) + func SettingEnv(prefix string, value []string, target string) (result bool, err error) + type Application interface + After func(value *Package) + Before func(value *Package, overwrite bool) bool + GetPackage func() *Package + Install func(value *Package) bool + Key func() string + Upgrade func(value *Package) bool + type Brew struct + func NewBrew() *Brew + func (v *Brew) After(value *Package) + func (v *Brew) Before(value *Package, overwrite bool) bool + func (v *Brew) GetPackage() *Package + func (v *Brew) Install(value *Package) bool + func (v *Brew) Key() string + func (v *Brew) Upgrade(value *Package) bool + type Env struct + AppendKey string + Key string + Value string + type GitflowControl struct + func NewGitflowControl() *GitflowControl + func (v *GitflowControl) After(value *Package) + func (v *GitflowControl) Before(value *Package, overwrite bool) bool + func (v *GitflowControl) GetPackage() *Package + func (v *GitflowControl) Install(value *Package) bool + func (v *GitflowControl) Key() string + func (v *GitflowControl) Upgrade(value *Package) bool + type Golang struct + func NewGolang() *Golang + func (v *Golang) After(value *Package) + func (v *Golang) Before(value *Package, overwrite bool) bool + func (v *Golang) GetPackage() *Package + func (v *Golang) Install(value *Package) bool + func (v *Golang) Key() string + func (v *Golang) Upgrade(value *Package) bool + type ITerm2 struct + func NewITerm2() *ITerm2 + func (v *ITerm2) After(value *Package) + func (v *ITerm2) Before(value *Package, overwrite bool) bool + func (v *ITerm2) GetPackage() *Package + func (v *ITerm2) Install(value *Package) bool + func (v *ITerm2) Key() string + func (v *ITerm2) Upgrade(value *Package) bool + type Log struct + Key string + func (v *Log) Println(format string, args ...interface{}) + type Ohmyzsh struct + func NewOhmyzsh() *Ohmyzsh + func (v *Ohmyzsh) After(value *Package) + func (v *Ohmyzsh) Before(value *Package, overwrite bool) bool + func (v *Ohmyzsh) GetPackage() *Package + func (v *Ohmyzsh) Install(value *Package) bool + func (v *Ohmyzsh) Key() string + func (v *Ohmyzsh) Upgrade(value *Package) bool + type OhmyzshPlugin struct + Plugin []*Plugin + func NewOhmyzshPlugin() *OhmyzshPlugin + func (o *OhmyzshPlugin) GetPlugin() (key []string) + func (v *OhmyzshPlugin) After(value *Package) + func (v *OhmyzshPlugin) Before(value *Package, overwrite bool) bool + func (v *OhmyzshPlugin) GetPackage() *Package + func (v *OhmyzshPlugin) Install(value *Package) bool + func (v *OhmyzshPlugin) Key() string + func (v *OhmyzshPlugin) Upgrade(value *Package) bool + type Package struct + Bin string + Compress string + Description string + Env []*Env + Name string + Shell string + Source []string + Target string + Version string + type Plugin struct + Name string + Shell []string + Source string + Target string + type Rust struct + func NewRust() *Rust + func (v *Rust) After(value *Package) + func (v *Rust) Before(value *Package, overwrite bool) bool + func (v *Rust) GetPackage() *Package + func (v *Rust) Install(value *Package) bool + func (v *Rust) Key() string + func (v *Rust) Upgrade(value *Package) bool + type Software struct + func (v *Software) After(value *Package) + func (v *Software) Before(value *Package, overwrite bool) bool + func (v *Software) GetPackage() *Package + func (v *Software) Install(value *Package) bool + func (v *Software) Key() string + func (v *Software) Upgrade(value *Package) bool + type Template struct + func NewTemplate() *Template + func (v *Template) After(value *Package) + func (v *Template) Before(value *Package, overwrite bool) bool + func (v *Template) GetPackage() *Package + func (v *Template) Install(value *Package) bool + func (v *Template) Key() string + func (v *Template) Upgrade(value *Package) bool + type Vim struct + func NewVim() *Vim + func (v *Vim) After(value *Package) + func (v *Vim) Before(value *Package, overwrite bool) bool + func (v *Vim) GetPackage() *Package + func (v *Vim) Install(value *Package) bool + func (v *Vim) Key() string + func (v *Vim) Upgrade(value *Package) bool