Download a single directory/folder from a GitHub repo
Project description
gitdir
- Minimal and colorful output 🌈
- Works on Linux, MacOS, and Windows
- Support recursive downloading
Install
$ pip3 install --user gitdir
# Yes, thats all :)
Usage
usage: gitdir [-h] [--output_dir OUTPUT_DIR] [--flatten] urls [urls ...]
Download directories/folders from GitHub
positional arguments:
urls List of Github directories to download.
optional arguments:
-h, --help show this help message and exit
--output_dir OUTPUT_DIR, -d OUTPUT_DIR
All directories will be downloaded to the specified
directory.
--flatten, -f Flatten directory structures. Do not create extra
directory and download found files to output
directory. (default to current directory if not
specified)
Packge Entry
You can use python -m gitdir
/ python3 -m gitdir
in case the short command does not work.
Exiting
To exit the program, just press CTRL+C
.
License
MIT License
Copyright (c) 2019 Siddharth Dushantha
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gitdir-1.2.7.tar.gz
(4.9 kB
view details)
File details
Details for the file gitdir-1.2.7.tar.gz
.
File metadata
- Download URL: gitdir-1.2.7.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdb74818b917078e65ce1b02508e3c51ff5954b80f7b4714689a48455dcce855 |
|
MD5 | 39d3f2918c9aafde8d85be6976a1b2bc |
|
BLAKE2b-256 | 0a67188ee511a0c218c919f4070ffc86b85ae207f171350f84d2804948e96ac4 |