Skip to content

Switch template from cookiecutter to Copier #32

@ypid

Description

@ypid

cookiecutter-netbox-plugin version

latest

Feature type

Change to existing functionality

Proposed functionality

Switch from cookiecutter to Copier.

Use case

This will allow to prepopulate answeres like "hyphenated" and "underscored" based on "plugin_name". Thus safe a little bit on typing.

But the main advantage: When this template involves, users can use Copier to pull in those changes to their instantiated projects. Ref: https://copier.readthedocs.io/en/stable/updating/. Apparently the same can be done with cruft. I only have experience with Copier and can recommend it.

External dependencies

Copier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions