reemplazar
v0.0.4
Published
Reemplazar is a simple tool that replaces strings in your files.
Downloads
4
Readme
node-reemplazar
Reemplazar is a simple tool that replaces strings in your files.
npm i -g reemplazar
Example
reemplazar config.xml --output config.testing.xml --first --- id=\"com.my-company.my-app\" --- for id=\"com.my-company.my-testing-app\"
config.xml
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="5" id="com.my-company.my-app">
</widget>
config.testing.xml
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="5" id="com.my-company.my-testing-app">
</widget>
More examples
reemplazar *.txt --- cumbia --- for punk
reemplazar *.txt --- river --- for riber