It's a simple CLI you can use touch command.
npm install @burakbey/touch-cli -g
You can create multiple files/folders like that:
touch <path1> <path2> <path3>...
You can create files like .gitIgnore, .npmIgnore by adding :file
to the end.
touch .gitIgnore:file
➜ Creates .gitIgnore file
touch myProject/.gitIgnore:file
➜ Creates .gitIgnore file inside myProject folder
-
Folders:
touch myFolder
➜ *Creates folder named myFolder*
touch mySecondFolder myThirdFolder
➜ Creates multiple folders -
Files:
touch myNote.txt
➜ *Creates a file named myNote.txt*
touch index.html style.css
➜ Creates multiple files -
Files In Folders:
touch public/index.html
➜ Creates public folder if not exist then creates index.html file
touch public/script.js assets/style.css assets/myStyle.css
➜ Creates multiple files in folders
If you find this project useful and would like to support me, you can do so by visiting my website.