New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

github-clone

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-clone

clone github repositories to the local box.

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

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.

Keywords

git

FAQs

Package last updated on 05 Nov 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts