| Crates.io | rep-cli |
| lib.rs | rep-cli |
| version | 0.1.0 |
| created_at | 2022-04-12 16:20:53.247663+00 |
| updated_at | 2022-04-12 16:20:53.247663+00 |
| description | Replace text file in bulk |
| homepage | |
| repository | https://github.com/ahmadrosid/rep-cli |
| max_upload_size | |
| id | 566525 |
| size | 14,105 |
Replace string in file.
rep 0.1.0
Batch replace text file
USAGE:
rep.exe [OPTIONS] --from <from> --input <input> --to <to>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-i, --input <input> File path to replace
-e, --ext <ext> File extensions use * to accept all ext [default: *]
-f, --from <from> Original string
-t, --to <to> Replaced string
rep -i public/wiki/ -e html -f 'link rel="stylesheet" href="' -t 'link rel="stylesheet" href="/wiki/'