get template from git #381
trondhindenes
started this conversation in
Ideas
Replies: 1 comment
-
I've pretty much written a Plaster module in this manner already. As long as the conventions of a plaster template are followed as already documented, it's very easy to treat a repository as a template. It even works right now, with a couple of manual steps. git clone --depth 1 https://github.com/SomeUser/SomeTemplate
Invoke-Plaster -TemplatePath .\SomeTemplate -DestinationPath PathToNewModule To implement this in Plaster all you'd really need, if I quickly think about it, is
Extra credit for:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be great if Plaster natively supported git-based templates (something like git:https://github.com/trondhindenes/plastertemplate1.git so that the template content was disconnected from the module itself - would require some convention around how to store stuff in a git repo in a way that Plaster would understand (esp content files etc)
Beta Was this translation helpful? Give feedback.
All reactions