node-github-download
node-github-download copied to clipboard
downloading parts of a repo
any chance to only download parts of a repo? It would be nice if we could specify a glob pattern for what we'd like to have downloaded and copied into the final destination
You could do that now... download the repo, filter the files wanted, and copy? Adding that feature into the repo would add a lot of complexity.
... if the API limit has been reached, it falls back to the zip file. So it'd then need to unzip, filter, and copy.
that was my first idea as well, is there a preferred destination you'd temporary download the full repo? Something like a default temp folder?
Yeah I wasn't sure whether this is just a specific request for a generator of mine or could be a valuable general feature. Nevertheless the outcome of this discussion might help others at least on how to solve a similar scenario