Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AllRequired []*Dependency AllOptional []*Dependency )
Functions ¶
func Add ¶
func Add(dep *Dependency)
func AllRequiredMustBeInstalled ¶
func AllRequiredMustBeInstalled() error
Types ¶
type Dependency ¶
type Dependency struct { // Command that should be found in PATH Command string // Url to dependency's website Url string // IsRequired indicates whether this is a core dependency required to run joy IsRequired bool // RequiredBy lists which joy sub-commands require this dependency RequiredBy []string }
func (*Dependency) IsInstalled ¶
func (d *Dependency) IsInstalled() bool
func (*Dependency) MustBeInstalled ¶
func (d *Dependency) MustBeInstalled() error
Click to show internal directories.
Click to hide internal directories.