Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func Run(ctx context.Context, args []string, dir string, stdout io.Writer, ...) int type ExecRunner func (ExecRunner) Run(ctx context.Context, dir string, name string, args []string, stdout io.Writer, ...) error type Runner Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(ctx context.Context, args []string, dir string, stdout io.Writer, stderr io.Writer, runner Runner) int Run executes the tango CLI and returns a process-style exit code. Types ¶ type ExecRunner ¶ type ExecRunner struct{} ExecRunner runs commands with os/exec. func (ExecRunner) Run ¶ func (ExecRunner) Run(ctx context.Context, dir string, name string, args []string, stdout io.Writer, stderr io.Writer) error Run executes name with args in dir, wiring stdout and stderr through. type Runner ¶ type Runner interface { Run(ctx context.Context, dir string, name string, args []string, stdout io.Writer, stderr io.Writer) error } Runner executes an external command. Source Files ¶ View all Source files cli.godrops.goflags.gomigration_json.gonewapp.gonewproject.goopenapi.gorenames.goshell.gotui.gotui_dashboard.go Click to show internal directories. Click to hide internal directories.