Forgive me if "just dig your way out of the hole" doesn't sound appealing.
You're free to use whatever tools you like.
Surely you, a programmer, can imagine a way to automate this process
You're free to use whatever tools you like.