0.1.2 |
|
---|---|
0.1.1 |
|
0.1.0 |
|
#33 in #pacman
12KB
216 lines
Archlinux pacman set the fastest mirror source
Examples
cpm -h
cpm is short of =>china pacman mirror
cpm -h || -help => shows help about the cli
cpm -n || -new => fetch arch mirror and set fatest pacman mirror
cpm -w || -where => shows the .cpm.toml file path
cpm => get config from local .cpm.toml file and set fatest pacman mirror
Install
cargo install cpm
Run to set
sudo cpm
Dependencies
~8–19MB
~290K SLoC