stash/vendor/github.com/gobuffalo/genny/dry_runner.go

16 lines
271 B
Go
Raw Normal View History

2019-02-09 12:30:49 +00:00
package genny
import (
"context"
"github.com/gobuffalo/logger"
)
// DryRunner will NOT execute commands and write files
// it is NOT destructive
func DryRunner(ctx context.Context) *Runner {
r := NewRunner(ctx)
r.Logger = logger.New(logger.DebugLevel)
return r
}