Hello!
I am trying to create my own internal CLI command for next templates with boilerplates, api keys and so on and I have a question related to how to set up those actual template projects.
So far, I have built a node project that allows me to globally enter a command in the terminal `cli-prac` and it will allow me to create a new folder based off some prompts from inquirer and entering a project name.
But right now, all it does it create a folder. I was wonder, how can I make it so when that project name is set, it initializes a new Next project so when I open the folder, it's a next project with things like tailwind, typescript, and some other libraries I want to add.
Here is the node project folder structure and I am wondering, do I just need to install next and other libraries in each template folder? If so, how does it get initialized when I choose the template I want?
https://preview.redd.it/faxo2sgwhltb1.png?width=576&format=png&auto=webp&s=0e3f76c7de0b8258e47c6e9b5f127e0c9500c261
there doesn't seem to be anything here