Documentation
¶
Index ¶
- Variables
- func FindCaskPath(ctx context.Context, args []string) (string, error)
- func FindInstalled(ctx context.Context, name string) (string, error)
- func Install(ctx context.Context, args []string) error
- func Uninstall(ctx context.Context, name string) error
- type Cmd
- type CmdOption
- type Info
- type InfoV2
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFormulaNotFound = errors.New("formula not found")
Functions ¶
func FindCaskPath ¶ added in v0.6.0
Types ¶
type Cmd ¶ added in v0.6.0
type Cmd struct {
Args []string
}
Cmd holds the arguments for brew commands.
type CmdOption ¶ added in v0.6.0
type CmdOption func(*Cmd)
CmdOption of BrewCmd.
func WithJSONV2 ¶ added in v0.6.0
func WithJSONV2() CmdOption
Click to show internal directories.
Click to hide internal directories.