mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 06:14:46 +01:00
15 lines
271 B
Go
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
|
|
}
|