Versions in this module Expand all Collapse all v0 v0.1.0 Oct 27, 2021 Changes in this version + func Arg(ctx context.Context, idx int, defaultStr string) (string, bool) + func Args(ctx context.Context) []string + func Deps(ctx context.Context, fns ...HandlerFunc) error + func Run() + func Sh(cmdStr string, args ...interface{}) *exec.Cmd + type ContextKey string + type HandlerFunc func(c context.Context, args []string) error + type Matr struct + func New() *Matr + func (m *Matr) Handle(task *Task) + func (m *Matr) OnExit(fn func(ctx context.Context, err error)) + func (m *Matr) PrintUsage(cmd string) + func (m *Matr) Run(ctx context.Context, args ...string) error + func (m *Matr) TaskNames() []string + type Task struct + Doc string + Handler HandlerFunc + Name string + Summary string