MCPcopy
hub / github.com/jesseduffield/lazygit / RunCommand

Method RunCommand

pkg/integration/components/shell.go:34–36  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

32}
33
34func (self *Shell) RunCommand(args []string) *Shell {
35 return self.RunCommandWithEnv(args, []string{})
36}
37
38// Run a command with additional environment variables set
39func (self *Shell) RunCommandWithEnv(args []string, env []string) *Shell {

Callers 15

NewBranchMethod · 0.95
NewBranchFromMethod · 0.95
RenameCurrentBranchMethod · 0.95
CheckoutMethod · 0.95
MergeMethod · 0.95
ContinueMergeMethod · 0.95
GitAddMethod · 0.95
GitAddAllMethod · 0.95
CommitMethod · 0.95
EmptyCommitMethod · 0.95
EmptyCommitWithBodyMethod · 0.95

Calls 1

RunCommandWithEnvMethod · 0.95

Tested by

no test coverage detected