Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DEFAULT_PRE_HOOK, DEFAULT_POST_HOOK func()
Functions ¶
func InitDefaultHooks ¶
func InitDefaultHooks(preHook, postHook func())
Types ¶
type CmdWrapper ¶
type CmdWrapper struct {
// contains filtered or unexported fields
}
func Command ¶
func Command(name string, arg ...string) *CmdWrapper
func (CmdWrapper) Run ¶
func (cw CmdWrapper) Run() error
Click to show internal directories.
Click to hide internal directories.