#cli #github #repleace

app ghc

Cli for efficient development in china

13 releases

0.1.13 Dec 3, 2022
0.1.12 Dec 3, 2022
0.1.11 Nov 2, 2022
0.1.10 Oct 30, 2022

#309 in Command line utilities

Download history 23/week @ 2022-11-20 25/week @ 2022-11-27 39/week @ 2022-12-04 3/week @ 2022-12-11 13/week @ 2022-12-18 2/week @ 2022-12-25 1/week @ 2023-01-01 18/week @ 2023-01-08 1/week @ 2023-01-15 4/week @ 2023-01-22 35/week @ 2023-01-29 19/week @ 2023-02-05 29/week @ 2023-02-12 52/week @ 2023-02-19

81 downloads per month

MIT license

255KB
106 lines

Cli for efficient development in china

Crates.io Rust license

ghc 0.1.13
Anonymous <dnrops@anonymous.com>
Cli for efficient development in china
Example:
ghc .js .toml => in current dir find all *.js *.toml and if contain https://github.com repleace to https://ghproxy.com/https://github.com
ghc config => in current dir find all config files and if contain https://github.com repleace to https://ghproxy.com/https://github.com

USAGE:
        OPTION          REQUIRED        ABOUT
ghc     -a --all        false           Find all files that contain https://github.com repleace to https://ghproxy.
ghc     -r --recover    false           recover the files that repleaced to original
ghc     -h --help                       Prints help information

Example

# in current dir find all Cargo.toml and if cointain https://github.com repleace https://github.com to https://ghproxy.com/https://github.com
ghc Cargo.toml 

install

cargo install ghc

download bin

#linux
wget https://gitlab.com/andrew_ryan/ghc/-/raw/master/bin/ghc
#windows
wget https://gitlab.com/andrew_ryan/ghc/-/raw/master/bin/ghc.exe

Dependencies

~1.5MB
~23K SLoC