yarn

package
v2.47.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigGet

func ConfigGet(key, executablePath string, jsonOutput bool) (string, error)

func ConfigSet

func ConfigSet(key, value, executablePath string, jsonInput bool) error

Types

type YarnConfig

type YarnConfig struct {
	Executable   string
	Command      []string
	CommandFlags []string
	StrWriter    io.WriteCloser
	ErrWriter    io.WriteCloser
}

func (*YarnConfig) GetCmd

func (yc *YarnConfig) GetCmd() *exec.Cmd

func (*YarnConfig) GetEnv

func (yc *YarnConfig) GetEnv() map[string]string

func (*YarnConfig) GetErrWriter

func (yc *YarnConfig) GetErrWriter() io.WriteCloser

func (*YarnConfig) GetStdWriter

func (yc *YarnConfig) GetStdWriter() io.WriteCloser

Jump to

Keyboard shortcuts

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