github-clone

clone github repositories to the local box.

npm install github-clone
8 downloads in the last week
17 downloads in the last month

github-clone

clone github repositories to the local box.

How?

you can just npm install github-clone -g and then github-clone --directory <dir> --access_token <token>. this installs an alias to the command into the system's path, meaning you can run github-clone from anywhere.

Examples

you can use a json or yaml configuration file (and call github-clone --config path/to/config)

{
  directory: "path/to/clone/into",
  repositories: {
    type: "public",
    sort: "updated"
  },
  access_token: "token"
}

A bit more info..

the repositories object contains a type and a sort, as defined by the github repo. the directory key specifies a path to the directory in wich we wanna clone all your repositories. the access_token key specifies a personal access token from here.

you can use cron or scheduled tasks to make this happen at a regular interval, which is good fun.

npm loves you