From f21c47103214de6e136e97149781fb0ec2e4576b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 7 Jan 2025 18:45:19 -0600 Subject: [PATCH] add RunVerbose() --- shell.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shell.go b/shell.go index 15fab39..41fe34a 100644 --- a/shell.go +++ b/shell.go @@ -47,6 +47,11 @@ func (repo *Repo) RunRealtime(cmd []string) cmd.Status { return shell.PathRunRealtime(repo.GetFullPath(), cmd) } +func (repo *Repo) RunRealtimeVerbose(cmd []string) cmd.Status { + log.Info("Run:", repo.GetFullPath(), cmd) + return shell.PathRunRealtime(repo.GetFullPath(), cmd) +} + // error if result.Error or if result.Exit != 0 func (repo *Repo) RunStrict(cmd []string) error { return repo.StrictRun(cmd)