runmode

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecRunMode

func ExecRunMode(cfg RunModeConfig) error

ExecRunMode handles the "outrig run" command with AST rewriting

func MakeBuildContext added in v0.9.0

func MakeBuildContext(args []string) *build.Context

MakeBuildContext creates a build.Context from config args, handling GOFLAGS and -tags

Types

type RawCmdDef added in v0.9.0

type RawCmdDef struct {
	Cmd []string
	Env map[string]string
	Cwd string
	Cfg config.Config
}

RawCmdDef holds configuration for raw command execution

type RunModeConfig added in v0.9.0

type RunModeConfig struct {
	Args       []string
	IsVerbose  bool
	NoRun      bool
	ConfigFile string
	RawCmd     *RawCmdDef
}

RunModeConfig holds configuration for ExecRunMode

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL