Command line utility for quickly cloning remote SCM repositories as succintly as possible.
Project description
QuickClone
Command line utility for quickly cloning remote SCM repositories as succintly as possible.
This project is a prime example of spending 24 hours to save 2 seconds.
Notes
Currently, only git is supported. I might add mercurial and then subversion later.
SSH links as you know it are not well supported. However, links like
ssh://git@github.com/RenoirTan/QuickClone.git
still work the same as
git@github.com:RenoirTan/QuickClone.git
.
Installation
From source:
git clone https://github.com/RenoirTan/QuickClone.git
cd QuickClone
pip install .
From PYPI:
pip install quickclone
Both ways should install qkln
and quickclone
to PATH, meaning you don't have
to call quickclone using python -m quickclone
. qkln
and quickclone
are
both entry points to the same main function, so you can call either command.
Configuration
You can configure QuickClone by editing ~/.config/quickclone.toml
.
Examples
qkln RenoirTan/QuickClone
If options.local.remotes_dir
is defined, QuickClone will clone the repo into
a folder in that directory. For example, if options.local.remotes_dir
is
defined as ~/Code/remote
, the repo will be cloned to
~/Code/remote/github.com/RenoirTan/QuickClone
.
You can also override options.local.remotes_dir
by specifying the destination
path or adding the -Id
flag to the command.
qkln RenoirTan/QuickClone ~/Desktop/destination
qkln RenoirTan/QuickClone -Id
In the latter example, QuickClone will ignore options.local.remotes_dir
and
clone to ./QuickClone
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for quickclone-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9b84409bfc4da93446716bb4d00d29edb3f2e77550428c5a7ffd37bc20545ea |
|
MD5 | 056dd25cbb0b480d18512f8e90617ee8 |
|
BLAKE2b-256 | 84462b2049675e4b56f48a38cee1161b467b1610fe2d7b93c13a698e256cc0d4 |