I wrote a CLI tool that generates basic scaffolding for all sorts of coding projects, from Zig applications to NPM packages.

Feel free to ask questions or contribute!

    • kaamkiya@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 hours ago

      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.)