run

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package run provides the script run command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spec

type Spec struct {
	WorkingDir string
	Engine     *engine.Engine
	Safeguards runcmd.Safeguards
	Printers   printer.Printers

	DryRun          bool
	Quiet           bool
	Reverse         bool
	Parallel        int
	ContinueOnError bool
	GitFilter       engine.GitFilter
	Target          string
	FromTarget      string
	NoRecursive     bool
	NoTags          []string
	Tags            []string
	engine.OutputsSharingOptions
	StatusFilters runcmd.StatusFilters

	Stdout io.Writer
	Stderr io.Writer
	Stdin  io.Reader

	Labels []string
	// contains filtered or unexported fields
}

Spec represents the script run specification.

func (*Spec) Exec

func (s *Spec) Exec(_ context.Context) error

Exec executes the script run command.

func (*Spec) Name

func (s *Spec) Name() string

Name returns the name of the script run command.

Jump to

Keyboard shortcuts

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