feat: better functional options (#2147)

This commit is contained in:
Pete Davison
2025-03-31 21:49:00 +01:00
committed by GitHub
parent 4736bc2734
commit 2a92b70bc2
6 changed files with 710 additions and 546 deletions

View File

@@ -114,8 +114,8 @@ func run() error {
}
e := task.NewExecutor(
flags.WithExecutorOptions(),
task.ExecutorWithVersionCheck(true),
flags.WithFlags(),
task.WithVersionCheck(true),
)
if err := e.Setup(); err != nil {
return err