Documentation ¶
Index ¶
- type NvmExec
- func (instance *NvmExec) GetPath(path string) (response string)
- func (instance *NvmExec) GetTempPath(subPath string) (response string)
- func (instance *NvmExec) GetWorkPath(subPath string) (response string)
- func (instance *NvmExec) Help() (response string, err error)
- func (instance *NvmExec) Install(version string) (response string, err error)
- func (instance *NvmExec) IsInstalled() bool
- func (instance *NvmExec) LogDisableRotation()
- func (instance *NvmExec) LogFlush()
- func (instance *NvmExec) NodeRun(nodeVersion string, command string) (response string, err error)
- func (instance *NvmExec) NpmRun(nodeVersion string, command string) (response string, err error)
- func (instance *NvmExec) NpxRun(nodeVersion string, command string) (response string, err error)
- func (instance *NvmExec) Root() string
- func (instance *NvmExec) Run(nodeVersion string, commands ...string) (response string, err error)
- func (instance *NvmExec) RunBackground(nodeVersion string, commands ...string) (c *shell.ShellCmd, err error)
- func (instance *NvmExec) SetLogger(logger gg_log.ILogger) *NvmExec
- func (instance *NvmExec) SetRoot(dir string) *NvmExec
- func (instance *NvmExec) SetSubTemp(enabled bool) *NvmExec
- func (instance *NvmExec) SetTemp(dir string) *NvmExec
- func (instance *NvmExec) Temp() string
- func (instance *NvmExec) Use(nodeVersion string) (response string, err error)
- func (instance *NvmExec) Version() (response string, err error)
- func (instance *NvmExec) Work() string
- type NvmHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NvmExec ¶
type NvmExec struct {
// contains filtered or unexported fields
}
func (*NvmExec) GetTempPath ¶
func (*NvmExec) GetWorkPath ¶
func (*NvmExec) Install ¶
Install https://github.com/nvm-sh/nvm#installing-and-updating
func (*NvmExec) IsInstalled ¶
func (*NvmExec) LogDisableRotation ¶
func (instance *NvmExec) LogDisableRotation()
func (*NvmExec) RunBackground ¶
func (*NvmExec) SetSubTemp ¶
Click to show internal directories.
Click to hide internal directories.