@burakbey/touch-cli

1.1.1 • Public • Published

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:fileCreates .gitIgnore file
touch myProject/.gitIgnore:fileCreates .gitIgnore file inside myProject folder

Examples

  • Folders:
    touch myFolder ➜ *Creates folder named myFolder*
    touch mySecondFolder myThirdFolderCreates multiple folders

  • Files:
    touch myNote.txt ➜ *Creates a file named myNote.txt*
    touch index.html style.cssCreates multiple files

  • Files In Folders:
    touch public/index.htmlCreates public folder if not exist then creates index.html file
    touch public/script.js assets/style.css assets/myStyle.cssCreates multiple files in folders

☕ Support

If you find this project useful and would like to support me, you can do so by visiting my website.

Buy me a coffee

/@burakbey/touch-cli/

    Package Sidebar

    Install

    npm i @burakbey/touch-cli

    Weekly Downloads

    1

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    8.43 kB

    Total Files

    6

    Last publish

    Collaborators

    • burakbey