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

Switch template from cookiecutter to Copier #32

Open
ypid opened this issue Nov 20, 2024 · 0 comments
Open

Switch template from cookiecutter to Copier #32

ypid opened this issue Nov 20, 2024 · 0 comments

Comments

@ypid
Copy link

ypid commented Nov 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant