ghcl-bin

0.1.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ghcl-bin

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

535 kB

Total Files

14

Last publish

Collaborators

  • shuvalov-anton