ghcl-bin
v0.1.3
Published
Opinionated wrapper around `git clone`, that keeps your repos in structure.
Downloads
3
Readme
GitHub Clone
Opinionated wrapper around git clone
, that keeps your repos in structure.
Usage
ghcl myorg/myrepo # checkouts a repo into ~/Dev/@myorg/repo
ghcl "myorg/*" # checkouts all @myorg repos into ~/Dev/@myorg/*
ghcl "**" # checkouts all your repos into ~/Dev/@org/repo
ghcl "**" --dry # dry run
Configuration
git clone
works over ssh, just check that it's configured properly. And you need to set the env vars below:
export GITHUB_TOKEN=***;
export GITHUB_USERNAME=***;
Installation
npm istall -g ghcl
yarn global add ghcl