Versions in this module Expand all Collapse all v1 v1.14.0 May 7, 2025 v1.13.0 May 17, 2024 Changes in this version + type CommandEntry struct + func NewCmd(cliName string, opts ...CommandEntryOption) (opt *CommandEntry) + func (c *CommandEntry) Exec() error + func (c *CommandEntry) ExecCode() int + func (c *CommandEntry) ExecStdErr() string + func (c *CommandEntry) ExecStdOut() string + func (c *CommandEntry) IsCliAvailable() bool + type CommandEntryFunc interface + Exec func() error + ExecCode func() int + ExecStdErr func() string + ExecStdOut func() string + IsCliAvailable func() bool + type CommandEntryOption func(*CommandEntry) + func WithCommandArgs(commandArgs []string) CommandEntryOption + func WithRunPath(runPath string) CommandEntryOption