gg_exec

package
v0.2.78 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: BSD-3-Clause Imports: 23 Imported by: 1

Documentation

Index

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) Command

func (instance *ExecHelper) Command(cmd string, args ...string) (c *exec.Cmd, stdout *bytes.Buffer, stderr *bytes.Buffer)

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) 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) Start

func (instance *ExecHelper) Start(cmd string, args ...string) (*exec.Cmd, error)

func (*ExecHelper) TsNode

func (instance *ExecHelper) TsNode() *node_ts.TsNodeHelper

func (*ExecHelper) Yarn

func (instance *ExecHelper) Yarn() *yarn.YarnHelper

Jump to

Keyboard shortcuts

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