Documentation
¶
Index ¶
Constants ¶
View Source
const ( Reset = "\033[0m" Red = "\033[31m" Yellow = "\033[33m" )
Variables ¶
View Source
var TestDepsCmd = &Z.Cmd{ Name: `test`, Aliases: []string{"dependencies"}, Usage: `lazywal test`, Summary: `Test to see if all dependencies are available in your system.`, NumArgs: 0, Commands: []*Z.Cmd{help.Cmd}, Call: func(_ *Z.Cmd, args ...string) error { remainingDeps, ready := CheckReady() if ready { fmt.Println("All dependencies installed") return nil } fmt.Println("Lazywal won't run.") return fmt.Errorf("%sDependencies not found in your system: %s%s%s", Yellow, Red, remainingDeps, Reset) }, }
Functions ¶
func CheckReady ¶
func IsWalAvailable ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.