Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BashCommand ¶
type BashCommand interface {
Exec(string) (string, *CommandError)
}
type BashCommandImpl ¶
type BashCommandImpl struct{}
func NewBashCommand ¶
func NewBashCommand() BashCommandImpl
func (BashCommandImpl) Exec ¶
func (cmd BashCommandImpl) Exec(command string) (string, *CommandError)
type CommandError ¶
Click to show internal directories.
Click to hide internal directories.