Touch CLI
It's a simple CLI you can use touch command.
Installation
npm install @burakbey/touch-cli -g
Usage
You can create multiple files/folders like that:
touch <path1> <path2> <path3>...
⭐ News
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
Examples
-
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