toolbox
toolbox copied to clipboard
Allow cloning local templates
Currently vapor new --template ...
only supports remote git repositories. Being able to load a template from a local filesystem would be great!
Describe the solution you'd like
vapor new --template file:///Users/marius/Developer/my-awesome-template
I think this could be quite helpful, especially for testing! :)
Let me know what you think and I can implement it.
You can already do this; you just have to be more specific for Git's benefit (it's used to clone URLs being bare repos, not checkouts)- vapor new --template file:///Users/marius/Developer/my-awesome-template/.git
(Leaving this open in case I've misremembered whether the above works and/or it has stopped working 😅.)