| Crates.io | ghc |
| lib.rs | ghc |
| version | 0.1.13 |
| created_at | 2022-10-08 03:42:34.750838+00 |
| updated_at | 2022-12-03 18:30:30.39416+00 |
| description | Cli for efficient development in china |
| homepage | |
| repository | https://gitlab.com/andrew_ryan/ghc |
| max_upload_size | |
| id | 683303 |
| size | 531,268 |
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
# 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
cargo install ghc
#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