1.0.2 • Published 6 years ago

file-helper-cli v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

file-helper-cli

Listen to file changes, Delete files, Rename files, Read files, Create new files

A simple file system cli tool built in Node

Install

npm install -g file-helper-cli

Usage

$ file-helper <command> <options>

Options:

    -V, --version                  output the version number
    -h, --help                     output usage information

Commands:

    listen|l <filename>            Listen for file changes
    delete|d <filename>            Delete a file
    rename|rr <fileone> <filetwo>  Rename a file
    read|r <file>                  Read contents of a file
    write|w <filename> <data>      Create a file with supplied data

Examples:
    $ file-helper listen index.js
    $ file-helper delete index.js
    $ file-helper rename index.js app.js
    $ file-helper write content.md contentstring