summaryrefslogtreecommitdiff
path: root/shell.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-07 18:45:19 -0600
committerJeff Carr <[email protected]>2025-01-07 18:45:19 -0600
commitf21c47103214de6e136e97149781fb0ec2e4576b (patch)
treef6bceafac007d8c8be6677c6365286564a83f804 /shell.go
parent8c54c4a7d8fdccd4cf316fac6ff4edcd980a4cf1 (diff)
add RunVerbose()
Diffstat (limited to 'shell.go')
-rw-r--r--shell.go5
1 files changed, 5 insertions, 0 deletions
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)