ghc

Crates.ioghc
lib.rsghc
version0.1.13
sourcesrc
created_at2022-10-08 03:42:34.750838
updated_at2022-12-03 18:30:30.39416
descriptionCli for efficient development in china
homepage
repositoryhttps://gitlab.com/andrew_ryan/ghc
max_upload_size
id683303
size531,268
zinso (zinso)

documentation

https://docs.rs/ghc

README

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
Commit count: 14

cargo fmt