go-james: github.com/pieterclaerhout/go-james/cmd/runner Index | Files

package runner

import "github.com/pieterclaerhout/go-james/cmd/runner"

Index

Package Files

main.go

Variables

var RunCmd = climax.Command{
    Name:  "run",
    Brief: "Run a binary or example of the local package",
    Help:  "Run a binary or example of the local package",
    Handle: func(ctx climax.Context) int {

        tool := runner.Runner{
            Args: ctx.Args,
        }

        executor := internal.NewExecutor("")
        return executor.RunTool(tool, true)

    },
}

RunCmd implements the run command

Package runner imports 3 packages (graph) and is imported by 1 packages. Updated 2019-12-14. Refresh now. Tools for package owners.