add RunVerbose()

This commit is contained in:
Jeff Carr 2025-01-07 18:45:19 -06:00
parent 8c54c4a7d8
commit f21c471032
1 changed files with 5 additions and 0 deletions

View File

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