clone-lite-cli
v0.2.1
Published
Clone a single file (or subset of files) from a GitHub repository
Downloads
2
Maintainers
Readme
clone-lite
Have you ever wanted to run git clone
on a single file? This CLI allows for you to do just that.
Below is an example of how to clone a single package.json
file from a repo.
clone-lite https://github.com/owner/repo.git#version-or-branch package.json
Installing
To install run
npm install -g clone-lite
For private repos, you will need to have a person access token in the GITHUB_AUTH_TOKEN
environment variable.
export GITHUB_AUTH_TOKEN=the-oauth-access-token