Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalCmd ¶
type LocalCmd struct {
// contains filtered or unexported fields
}
LocalCmd is a helper to execute commands locally
func (*LocalCmd) Args ¶
func (c *LocalCmd) Args(args ...string) *LocalCmd
Args adds arguments to the command
func (*LocalCmd) CombinedOutput ¶
func (c *LocalCmd) CombinedOutput() (string, error)
CombinedOutput executes the command and returns combined stdout and stderr from the command
func (*LocalCmd) Env ¶
func (c *LocalCmd) Env(env ...string) *LocalCmd
Env adds environment to the command
Click to show internal directories.
Click to hide internal directories.