Documentation ¶
Index ¶
- Constants
- type ExecHelper
- func (instance *ExecHelper) Brew() *brew.BrewHelper
- func (instance *ExecHelper) Certbot() *certbot.CertbotHelper
- func (instance *ExecHelper) Command(cmd string, args ...string) (c *exec.Cmd, stdout *bytes.Buffer, stderr *bytes.Buffer)
- func (instance *ExecHelper) CommandCombinedOut(cmd string, args ...string) (*exec.Cmd, *bytes.Buffer)
- func (instance *ExecHelper) GetSSL() *getssl.GetSslHelper
- func (instance *ExecHelper) Git() *git.GitHelper
- func (instance *ExecHelper) HTTPie() *httpie.HttpieHelper
- func (instance *ExecHelper) NewBrew() *brew.BrewExec
- func (instance *ExecHelper) NewCertbot() *certbot.CertbotExec
- func (instance *ExecHelper) NewExecutor(cmd string) *executor.Executor
- func (instance *ExecHelper) NewExecutorWithDir(cmd, dir string) *executor.Executor
- func (instance *ExecHelper) NewGetSSL() *getssl.GetSslExec
- func (instance *ExecHelper) NewGhostScript() *ghostscript.GhostScriptExec
- func (instance *ExecHelper) NewGit() *git.GitExec
- func (instance *ExecHelper) NewHTTPie() *httpie.HttpieExec
- func (instance *ExecHelper) NewLibreOffice() *libreoffice.LibreOfficeExec
- func (instance *ExecHelper) NewNode() *node.NodeExec
- func (instance *ExecHelper) NewNpm() *npm.NpmExec
- func (instance *ExecHelper) NewPHP() *php.PHPExec
- func (instance *ExecHelper) NewPing() *ping.PingExec
- func (instance *ExecHelper) NewPython() *python.PythonExec
- func (instance *ExecHelper) NewPythonWithCommand(command string) *python.PythonExec
- func (instance *ExecHelper) NewTsNode() *node_ts.TsNodeExec
- func (instance *ExecHelper) NewVSCode() *vscode.VSCodeExec
- func (instance *ExecHelper) NewYarn() *yarn.YarnExec
- func (instance *ExecHelper) Node() *node.NodeHelper
- func (instance *ExecHelper) Npm() *npm.NpmHelper
- func (instance *ExecHelper) Nvm() *nvm.NvmHelper
- func (instance *ExecHelper) Open(args ...string) error
- func (instance *ExecHelper) Pm2() *pm2.Pm2Helper
- func (instance *ExecHelper) Run(cmd string, args ...string) ([]byte, error)
- func (instance *ExecHelper) RunBackground(cmd string, args ...string) ([]byte, error)
- func (instance *ExecHelper) RunOutput(cmd string, args ...string) (string, error)
- func (instance *ExecHelper) RunShell(shellScript string, args ...string) (string, error)
- func (instance *ExecHelper) Start(cmd string, args ...string) (*exec.Cmd, error)
- func (instance *ExecHelper) TsNode() *node_ts.TsNodeHelper
- func (instance *ExecHelper) Yarn() *yarn.YarnHelper
Constants ¶
View Source
const (
OPEN_FILE_COMMAND = "xdg-open"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecHelper ¶
type ExecHelper struct { }
var Exec *ExecHelper
func (*ExecHelper) Brew ¶
func (instance *ExecHelper) Brew() *brew.BrewHelper
func (*ExecHelper) Certbot ¶
func (instance *ExecHelper) Certbot() *certbot.CertbotHelper
func (*ExecHelper) CommandCombinedOut ¶
func (instance *ExecHelper) CommandCombinedOut(cmd string, args ...string) (*exec.Cmd, *bytes.Buffer)
CommandCombinedOut creates a command and return command instance and output buffers (both Stdout and Stderr)
func (*ExecHelper) GetSSL ¶
func (instance *ExecHelper) GetSSL() *getssl.GetSslHelper
func (*ExecHelper) Git ¶
func (instance *ExecHelper) Git() *git.GitHelper
func (*ExecHelper) HTTPie ¶
func (instance *ExecHelper) HTTPie() *httpie.HttpieHelper
func (*ExecHelper) NewBrew ¶
func (instance *ExecHelper) NewBrew() *brew.BrewExec
func (*ExecHelper) NewCertbot ¶
func (instance *ExecHelper) NewCertbot() *certbot.CertbotExec
func (*ExecHelper) NewExecutor ¶
func (instance *ExecHelper) NewExecutor(cmd string) *executor.Executor
func (*ExecHelper) NewExecutorWithDir ¶
func (instance *ExecHelper) NewExecutorWithDir(cmd, dir string) *executor.Executor
func (*ExecHelper) NewGetSSL ¶
func (instance *ExecHelper) NewGetSSL() *getssl.GetSslExec
func (*ExecHelper) NewGhostScript ¶
func (instance *ExecHelper) NewGhostScript() *ghostscript.GhostScriptExec
func (*ExecHelper) NewGit ¶
func (instance *ExecHelper) NewGit() *git.GitExec
func (*ExecHelper) NewHTTPie ¶
func (instance *ExecHelper) NewHTTPie() *httpie.HttpieExec
func (*ExecHelper) NewLibreOffice ¶
func (instance *ExecHelper) NewLibreOffice() *libreoffice.LibreOfficeExec
func (*ExecHelper) NewNode ¶
func (instance *ExecHelper) NewNode() *node.NodeExec
func (*ExecHelper) NewNpm ¶
func (instance *ExecHelper) NewNpm() *npm.NpmExec
func (*ExecHelper) NewPHP ¶
func (instance *ExecHelper) NewPHP() *php.PHPExec
func (*ExecHelper) NewPing ¶
func (instance *ExecHelper) NewPing() *ping.PingExec
func (*ExecHelper) NewPython ¶
func (instance *ExecHelper) NewPython() *python.PythonExec
func (*ExecHelper) NewPythonWithCommand ¶
func (instance *ExecHelper) NewPythonWithCommand(command string) *python.PythonExec
func (*ExecHelper) NewTsNode ¶
func (instance *ExecHelper) NewTsNode() *node_ts.TsNodeExec
func (*ExecHelper) NewVSCode ¶
func (instance *ExecHelper) NewVSCode() *vscode.VSCodeExec
func (*ExecHelper) NewYarn ¶
func (instance *ExecHelper) NewYarn() *yarn.YarnExec
func (*ExecHelper) Node ¶
func (instance *ExecHelper) Node() *node.NodeHelper
func (*ExecHelper) Npm ¶
func (instance *ExecHelper) Npm() *npm.NpmHelper
func (*ExecHelper) Nvm ¶
func (instance *ExecHelper) Nvm() *nvm.NvmHelper
func (*ExecHelper) Open ¶
func (instance *ExecHelper) Open(args ...string) error
func (*ExecHelper) Pm2 ¶ added in v0.2.102
func (instance *ExecHelper) Pm2() *pm2.Pm2Helper
func (*ExecHelper) Run ¶
func (instance *ExecHelper) Run(cmd string, args ...string) ([]byte, error)
func (*ExecHelper) RunBackground ¶
func (instance *ExecHelper) RunBackground(cmd string, args ...string) ([]byte, error)
func (*ExecHelper) RunOutput ¶
func (instance *ExecHelper) RunOutput(cmd string, args ...string) (string, error)
func (*ExecHelper) RunShell ¶
func (instance *ExecHelper) RunShell(shellScript string, args ...string) (string, error)
func (*ExecHelper) TsNode ¶
func (instance *ExecHelper) TsNode() *node_ts.TsNodeHelper
func (*ExecHelper) Yarn ¶
func (instance *ExecHelper) Yarn() *yarn.YarnHelper
Click to show internal directories.
Click to hide internal directories.