Is there a way to create a new project through scripting?

I’m looking to automate my architecture VR visualization pipeline. Is there a way to programmatically generate new unreal projects? Are there any command line parameters that might enable this. Additionally is there a way to automatically enable python scripting in a project?

Thank you!

I’ve been wondering the same thing, but I’ve been too sidetracked to test it. My plan right now is to create a base unreal project that will already have the python plugins loaded, dev-mode, etc.
I was thinking that each time I need to create a new project (new asset, shot, etc), I can just have a script copy/paste the project, rename it, and then launch:

“C:\Program Files\Epic Games\UE_4.24\Engine\Binaries\Win64\UE4Editor.exe” “C:\Users\\Documents\Unreal Projects\MyProject2 4.24\MyProject2.uproject”

Thanks Daniel. This ended up working for me