Skip to content

martinvd/prepend-file-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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