jlevy / repren

Rename anything
Apache License 2.0
347 stars 39 forks source link

Add an --include option #25

Open adamretter opened 5 years ago

adamretter commented 5 years ago

For only replacing in files matching a filename pattern.

e.g.

$ ./repren --dry-run --literal --from map:for-each-entry --to map:for-each --include=.*\.xq[lm]? exist-backups/db