martinvd / prepend-file-cli

Prepend data to a file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Prepend data to a file.

License:MIT License


Languages

Language:JavaScript 100.0%