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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    2
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i ghcl-bin

Weekly Downloads

2

Version

0.1.3

License

MIT

Unpacked Size

535 kB

Total Files

14

Last publish

Collaborators

  • shuvalov-anton