exec

package
v0.0.0-...-0c481e8 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(builder *OptionBuilder, cmd string, args ...string) (err error)

Types

type OptionBuilder

type OptionBuilder struct {
	// contains filtered or unexported fields
}

func NewOption

func NewOption() *OptionBuilder

func (*OptionBuilder) SetDryRun

func (o *OptionBuilder) SetDryRun(b bool) *OptionBuilder

func (*OptionBuilder) SetEWriter

func (o *OptionBuilder) SetEWriter(writer io.Writer) *OptionBuilder

func (*OptionBuilder) SetReader

func (o *OptionBuilder) SetReader(reader io.Reader) *OptionBuilder

func (*OptionBuilder) SetWriter

func (o *OptionBuilder) SetWriter(writer io.Writer) *OptionBuilder

func (*OptionBuilder) WithDryRun

func (o *OptionBuilder) WithDryRun() *OptionBuilder

Jump to

Keyboard shortcuts

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