A cli tool to download specific GitHub directories or files.
git clone https://github.com/alok8bb/cloneit
cd cloneit
bash ./install.sh
cloneit 1.0.0
Alok P <alok8bb@gmail.com>
Download specific GitHub directories or files
USAGE:
cloneit [OPTIONS] <url>...
ARGS:
<url>...
URL to the GitHub directory or file. You can pass a single URL or multiple
comma-delimited URLs e.g.
https://github.com/fpic/linpeace.py,https://github.com/s0xf/r2gihdra.c,https://github.com/fpic/defpol/master
OPTIONS:
-h, --help
Print help information
-V, --version
Print version information
-z
Download zipped directory
$ cloneit https://github.com/alok8bb/cloneit
$ cloneit https://github.com/alok8bb/cloneit/tree/master/src
$ cloneit https://github.com/alok8bb/cloneit/tree/master/src/main.rs
Thanks to @winterrdog for implementing this feature.
$ cloneit -z https://github.com/alok8bb/cloneit