tapestry-cloud / tapestry

PHP static site generator using the plates template system
https://www.tapestry.cloud/
MIT License
32 stars 1 forks source link

Add workspace scaffolders #105

Closed carbontwelve closed 6 years ago

carbontwelve commented 7 years ago

You should be able to create scaffolds for your content types, for example a blog scaffold would produce a new blog post file with the front matter filled from the users input.

This could be a basic configurable thing, or a base class that project maintainers extend to add their own scaffolds to.

e.g:

$:> tapestry make:blog
Please enter a title: My Blog Post
The file ['_blog/08-03-2017-my-blog-post.md'] was successfully created.
$:>
carbontwelve commented 7 years ago

Thinking about it this should be a plugin.