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

[FEATURE] Add page, collection, and blog optional attributes to render-engine init #519

Open
kjaymiller opened this issue Jan 9, 2024 · 1 comment
Milestone

Comments

@kjaymiller
Copy link
Collaborator

To make customizability and getting started easier for render-engine init, I propose we add the following parameters to render-engine init

def init(
pages: Annotated[typing.List[str], typer.Option("--page", "-p", help="add a page to be created")] = ["index"],
collection: Annotated[typing.List[str], typer.Option("--collection", "-c", help="add a collection to be created")]=["pages"],
add_blog: Annotated[bool, typer.Option("--blog")] = False

These are a list of items that can be used to create page and collection objects by cookiecutter templates and will be passed in with extra_context.

@kjaymiller
Copy link
Collaborator Author

cc @john0isaac

@kjaymiller kjaymiller added this to the 2024.2.1 milestone Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant