Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 869 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 869 Bytes

GitHub Directory Downloader

This CLI tool allows for the quick downloading of an entire GitHub directory's contents directly to your local machine.

Installation

To install this tool, run:

npm install -g d-github

Usage

To download a directory from GitHub, execute:

d-github <GitHub URL> [--output <path>]
  • <GitHub URL>: The full URL of the GitHub directory you wish to download.
  • --output, -o: Specify the output directory where the downloaded content will be saved. If not specified, content will be saved in the current directory.

Examples

Downloading a directory to the current directory:

d-github https://github.com/username/repo/tree/branch/path/to/directory

Specify an output directory:

d-github https://github.com/username/repo/tree/branch/path/to/directory --output ./myDirectory