refactor: move RunType::execute to ExecutionContext

This commit is contained in:
Andre Toerien
2025-06-24 15:20:29 +02:00
committed by Gideon
parent 257d202646
commit 32197f79f3
27 changed files with 386 additions and 621 deletions

View File

@@ -47,8 +47,7 @@ To add a new `step` to `topgrade`:
print_separator("xxx");
// Invoke the new step to get things updated!
ctx.run_type()
.execute(xxx)
ctx.execute(xxx)
.arg(/* args required by this step */)
.status_checked()
}