shell

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 3 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 {
	sh.Sheller
}

func NewShell

func NewShell() *Shell

func (*Shell) Close

func (s *Shell) Close()

func (*Shell) SetEnv

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

func (*Shell) SetPath

func (s *Shell) SetPath(path string)

func (*Shell) UnsetEnv

func (s *Shell) UnsetEnv(key string)

func (*Shell) UnsetPath

func (s *Shell) UnsetPath(path string)

type Sheller

type Sheller interface {
	sh.Sheller

	SetEnv(key, value string)
	UnsetEnv(key string)
	SetPath(path string)
	UnsetPath(path string)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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