Crates.io | gitspore |
lib.rs | gitspore |
version | 0.3.1 |
source | src |
created_at | 2024-03-31 01:42:34.982354 |
updated_at | 2024-08-25 01:30:46.185785 |
description | Github mirroring and backup tool that concurrently downloads or updates all of the repo's of the specified user. |
homepage | |
repository | https://github.com/helloimalemur/gitspore |
max_upload_size | |
id | 1191389 |
size | 71,304 |
Github mirroring and backup tool that concurrently downloads or updates all of the repo's of the specified user. If the repo already exists in the destination folder, that repo will be pulled on.
Note: If no token is provided only the public repo will be downloaded.
cargo install gitspore
Usage: gitspore [OPTIONS] -u <USER>
Options:
-u <USER> Github username
-o <OUTPUT_FOLDER> folder to save github repo [default: ./]
-t <TOKEN> Github token - If no token is provided only the public repos will be downloaded [default: None]
-h, --help Print help
./gitSpore config-file # use config file
./gitSpore -u helloimalemur # Download public repo only
./gitSpore -u helloimalemur -t mytoken # Download public and private repo
./gitSpore -u helloimalemur -t mytoken -o /tmp/output_dir # Download public and private repo to specified directory
Usage: gitspore config-file
github_username = "helloimalemur"
output_folder = "/tmp/"
github_personal_access_token = "github_xxxxx"
echo "Run clippy"; cargo clippy -- -D clippy::all
echo "Format source code"; cargo fmt -- --check