Skip to content

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

@kjaymiller

Description

@kjaymiller

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions