Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deebloo/find-and-replace-cli

Find and replace command line tool
https://github.com/deebloo/find-and-replace-cli

Last synced: 15 days ago
JSON representation

Find and replace command line tool

Awesome Lists containing this project

README

        

Find and Replace cli
=========

Find and replace command line utility.

Uses find-and-replace module

## Installation
```
npm install find-and-replace-cli
```

## Usage
Input: myFile.txt
```
%Heading%

Welcome to this months newsletter
...

%Footer%
```

Terminal Command:
```
fandr myFile.txt newFile.txt '{"%Heading%": "Good Morning San Diego!", "%Footer%": "Yaz Flute"}'
```

Output: newFile.txt
```
Good Morning San Diego!

Welcome to this months newsletter
...

Yaz Flute
```

* 0.1.0