stash/vendor/github.com/gobuffalo/genny/dry_runner.go
2019-02-09 04:32:50 -08:00

15 lines
271 B
Go

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
}