rep-cli

Crates.iorep-cli
lib.rsrep-cli
version0.1.0
sourcesrc
created_at2022-04-12 16:20:53.247663
updated_at2022-04-12 16:20:53.247663
descriptionReplace text file in bulk
homepage
repositoryhttps://github.com/ahmadrosid/rep-cli
max_upload_size
id566525
size14,105
ahmadrosid (ahmadrosid)

documentation

README

Replace

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

Example

rep -i public/wiki/ -e html -f 'link rel="stylesheet" href="' -t 'link rel="stylesheet" href="/wiki/'
Commit count: 8

cargo fmt