glg-clone

1.0.17 • Public • Published

glg-clone

A tool for me to quickly clone GLG Repos on the command line

What is it

If you do not use 2 Factor Auth - Just hit ENTER

~ npm install -g glg-clone
➜ ~ clone cmp  
[Info]    Please provide your GitHub Credentials
username bhudgens
password
2FA code 999999
[Warn]    Downloading all the repos can take a little bit...
[Info]    [0]: glg/cmp-questions
[Info]    [1]: glg/cmp-hq-dev
[Info]    [2]: glg/cmp
[Info]    [3]: glg/cmp-tools
[Info]    [4]: glg-core/cmp
repo
[Info]    Cloning into 'cmp'...

I want to include my own repos?

➜  glg-clone git:(master) ✗ export GITHUB_ORGS="glg,glg-core,custom-elements,igroff,wballard,bhudgens"
➜  glg-clone git:(master) ✗ clone env
[Info]    [0]: wballard/superforker.environment
[Info]    [1]: bhudgens/environment

Help:

~ clone -h
Usage:
  clone <repo>
  clone [options]

Options:
  -c --config                      Display the Environment
  -d --debug                       Enable Debug Log Output
  -f --forceCacheUpdate            Purge the current repo cache
  -h --help                        Show this help
  -s --search <repo>               Display the Environment
  -v --verbose                     Enable Verbose Log Output

Additional Options:
  --logging <logging>
  --debug <debug>
  --verbose <verbose>
  --username <username>
  --password <password>
  --githubApiUrl <githubApiUrl>
  --githubOrg <githubOrg>
  --githubMaxConcurrency <githubMaxConcurrency>
  --githubAuthHeader <githubAuthHeader>
  --repoCacheFile <repoCacheFile>

Search and clone GitHub repos from GLG Orgs

Readme

Keywords

none

Package Sidebar

Install

npm i glg-clone

Weekly Downloads

12

Version

1.0.17

License

ISC

Last publish

Collaborators

  • benjamin7062