Skip to content

dorianmariecom/dorian-replace

Repository files navigation

dorian-replace

Replace some string with some other string from the files provided

e.g. replace "cool" "coolest" *.md

Install

gem install dorian-replace

Or as part of my other gems:

gem install dorian

Usage

From my history:

replace "WorldCountry.spain" "WorldCountry.by_name('Espagne')" test/**/*
replace "Né(e) à l'étranger / Outre-Mer" "Né(e) à l'étranger" test/**/*
git grep -l " doc " app/assets/ | xargs replace " doc " " document "
git grep -l "={doc}" | xargs replace "={document}"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published