diff options
| author | Jeff Carr <[email protected]> | 2025-01-07 18:45:19 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-07 18:45:19 -0600 |
| commit | f21c47103214de6e136e97149781fb0ec2e4576b (patch) | |
| tree | f6bceafac007d8c8be6677c6365286564a83f804 /shell.go | |
| parent | 8c54c4a7d8fdccd4cf316fac6ff4edcd980a4cf1 (diff) | |
add RunVerbose()
Diffstat (limited to 'shell.go')
| -rw-r--r-- | shell.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |
