Versions in this module Expand all Collapse all v1 v1.0.0 Mar 19, 2018 Changes in this version + var CommandName = "grift" + func Add(name string, grift Grift) error + func Desc(name string, description string) error + func Exec(args []string, verbose bool) error + func List() []string + func Namespace(name string, s func()) error + func PrintGrifts(w io.Writer) + func Remove(name string) error + func Rename(oldName string, newName string) error + func Run(name string, c *Context) error + func RunSource(cmd *exec.Cmd) error + func Set(name string, grift Grift) error + type Context struct + Args []string + Name string + Verbose bool + func NewContext(name string) *Context + func NewContextWithContext(name string, ctx context.Context) *Context + func (c *Context) Set(key string, val interface{}) + func (c *Context) Value(key interface{}) interface{} + type Grift func(c *Context) error