Versions in this module Expand all Collapse all v0 v0.0.1 May 21, 2024 Changes in this version + func Cmd(config Config, command string, args ...string) (string, string, error) + func CmdWithContext(ctx context.Context, config Config, command string, args ...string) (string, string, error) + func GetCmdMutation(cmdKey string) (string, bool) + func GetFinalExecutablePath() (string, error) + func GetOSShell(shellPref ShellPreference) (string, []string) + func IsPowerShell(shellName string) bool + func LaunchURL(url string) error + func MutateCommand(cmd string, shellPref ShellPreference) string + func RegisterCmdMutation(cmdKey string, cmdLocation string) error + type Config struct + CommandPrinter func(format string, a ...any) + Dir string + Env []string + Print bool + Stderr io.Writer + Stdout io.Writer + type ShellPreference struct + Darwin string + Linux string + Windows string