This CLI tool allows for the quick downloading of an entire GitHub directory's contents directly to your local machine.
To install this tool, run:
npm install -g d-githubTo 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.
Downloading a directory to the current directory:
d-github https://github.com/username/repo/tree/branch/path/to/directory?target=https://github.comSpecify an output directory:
d-github https://github.com/username/repo/tree/branch/path/to/directory?target=https://github.com --output ./myDirectory