prepend-file-cli

v1.0.6
Prepend data to a file.
fs file prepend

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

npm i prepend-file-cli

Metadata

  • MIT
  • >=4
  • Martin van Driel
  • released 11/28/2016

Downloads

Maintainers