https://github.com/deebloo/find-and-replace-cli
Find and replace command line tool
https://github.com/deebloo/find-and-replace-cli
Last synced: over 1 year ago
JSON representation
Find and replace command line tool
- Host: GitHub
- URL: https://github.com/deebloo/find-and-replace-cli
- Owner: deebloo
- Created: 2014-09-18T22:58:21.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T08:28:38.000Z (over 2 years ago)
- Last Synced: 2025-03-30T20:33:37.959Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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