Documentation ¶ Index ¶ func Execute(name string, args ...string) func Read() string func Run(name string, args ...string) (string, error) type Commander func NewCommander() *Commander func (cmd *Commander) Execute(name string, args ...string) func (cmd *Commander) SetPath(path string) *Commander Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute(name string, args ...string) execute with realtime output func Read ¶ added in v0.1.21 func Read() string func Run ¶ added in v0.0.14 func Run(name string, args ...string) (string, error) run cmd and return string output Types ¶ type Commander ¶ added in v0.0.21 type Commander struct { Path string } func NewCommander ¶ added in v0.0.21 func NewCommander() *Commander func (*Commander) Execute ¶ added in v0.0.21 func (cmd *Commander) Execute(name string, args ...string) func (*Commander) SetPath ¶ added in v0.0.21 func (cmd *Commander) SetPath(path string) *Commander Source Files ¶ View all Source files cmd.go commander.go Click to show internal directories. Click to hide internal directories.