[recipe_wrapper] Refactor main package
The `main` package should be very limited in scope, usually just an I/O boundary. The package here was doing too much. This CL refactors the main package to place functions that have moving pieces into their own packages.
Bug: b/294422701
Change-Id: I7b30e90135c7f06c65a27f2f53bb172ee221d644
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/894760
Commit-Queue: Chris Lewis <cflewis@google.com>
Reviewed-by: Anthony Fandrianto <atyfto@google.com>
5 files changed