Crates.io | gcl |
lib.rs | gcl |
version | 0.1.0 |
source | src |
created_at | 2024-05-07 18:30:48.517275 |
updated_at | 2024-05-07 18:30:48.517275 |
description | Git Clone with an upgrade |
homepage | |
repository | https://github.com/d33pster/gcl |
max_upload_size | |
id | 1232563 |
size | 23,265 |
gcl is the new command for cloning your repositories (public and private). Rising from the rust (pun intended), its fast and reliable.
For installation simply run
cargo install gcl
For help Text run,
$ gcl help
gcl v1.0
Help Text
syntax: $ gcl [options] username repo <optional-destination-dir> [flags]
| [Options]
| help -> show help and exit.
| version -> show version and exit.
| [Flags]
| --priv -> for private repos, add this flag.
NOTE:
flags can be placed anywhere in the command. Be sure to follow this sequence -> username, repo, path.
Example usage:
gcl d33pster gcl home/
# this will clone into home/gcl/
gcl d33pster warlock --priv home/
# this will clone into home/warlock/
For private repositories, You will be needing a GitHub Token (classic).
Steps to get a classic token:
When running gcl
for the first time with --priv
flag, it will ask for a tokens classic. Copy and paste it. This is one time only.