Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating placeholder content #7

Open
jimafisk opened this issue May 4, 2020 · 1 comment
Open

Creating placeholder content #7

jimafisk opened this issue May 4, 2020 · 1 comment
Labels
enhancement New feature or request low low priority

Comments

@jimafisk
Copy link
Member

jimafisk commented May 4, 2020

It would be nice to be able to create n number of placeholder pages in order to quickly mock a test site and run build time benchmarks.

Proposed command format: plenti gen <#> <type>

Example: plenti gen 35 pages

The scaffolding for the placeholder nodes would be based on the type's _blueprint.json file.

@jimafisk jimafisk added enhancement New feature or request low low priority labels May 4, 2020
@jimafisk
Copy link
Member Author

We already use the new keyword for plenti new site mysite and plenti new type posts. We could reuse that format and make this command plenti new content 3 posts. It should copy the content from _defaults.json and just use the content type name plus an iterator like posts1, posts2, posts3, etc. We should also error handle if someone tries to create new content from a single type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low low priority
Projects
None yet
Development

No branches or pull requests

1 participant