prepend-file-cli

Prepend data to a file.


Keywords
fs, file, prepend, cli, nodejs
License
MIT
Install
npm install prepend-file-cli@1.0.6

Documentation

prepend-file-cli Build Status

Prepend data to a file, creating the file if it not yet exists.

Install

$ npm install -g prepend-file-cli

Usage

Usage
  $ prepend [file] [content]

Example
  $ prepend testfile.txt PrependThis
  $ prepend testfile.txt "Prepend more"

Related

License

MIT © Martin van Driel