this post was submitted on 11 Feb 2025
1 points (66.7% liked)
commandline
1862 readers
1 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Great question, actually. Cookiecutter is a way of using others' project templates, but you have to manually customize everything afterward (like if you need to add C to the gitignore, for example.)
In theory, kwinit could be used with cookiecutter. Maybe you generate a cookiecutter project, but you need to add issue templates, for example.
Generally, cookiecutter is more supported and maybe the better option. But I didn't like that it uses Python and I need to install a bunch of pip libs, and also I had too much free time. So I wrote this.
TL;DR: cookiecutter is more popular, but you may need to manually tweak things. Kwinit will generate common files, and can be used with cookiecutter to add missing files (like gitattributes, LICENSE, issue templates, etc.)