UNPKG
node-replace
Version:
latest (0.3.3)
0.3.3
0.3.2
0.3.1
Command line search and replace utility
github.com/raphamorim/node-replace
raphamorim/node-replace
node-replace
/
bin
/
search.js
12 lines
(8 loc)
•
231 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env node
var
nomnom =
require
(
"nomnom"
), replace =
require
(
"../replace"
), sharedOptions =
require
(
"./shared-options"
);
var
options = nomnom.
options
(sharedOptions) .
script
(
"search"
) .
parse
();
replace
(options);