batches: Move frontend-only code into cmd/frontend
Created by: eseliger
No code outside of a cmd
should reference cmd
code, so moving the frontend-only stuff into enterprise/cmd/frontend
. This also helps with fewer services needing a restart/recompile in local dev.
This is one of the things I stumbled upon while looking into migrating our background services to run in the worker
.