shell

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shell

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

func New

func New(w Writer) *Shell

func (*Shell) CallContext

func (v *Shell) CallContext(ctx context.Context, command string) error

func (*Shell) CallPackageContext

func (v *Shell) CallPackageContext(ctx context.Context, commands ...string) error

func (*Shell) CallParallelContext

func (v *Shell) CallParallelContext(ctx context.Context, commands ...string) error

func (*Shell) SetDir

func (v *Shell) SetDir(dir string)

func (*Shell) SetEnv

func (v *Shell) SetEnv(key, value string)

func (*Shell) SetShell

func (v *Shell) SetShell(shell string)

type Writer

type Writer func(s string)

Jump to

Keyboard shortcuts

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