This workflow is currently my workaround.
I want to build an app so i can ship the changes via docker if i rebuild the environment and have no manual interactions.
If you are signed in as Administrator and your site is in developer mode, you can export the customizations to your app. We use this approach with a custom installer script to make sure everything is there when in use by a third party.