0.2.2 • Published 8 years ago

multi-cloner v0.2.2

Weekly downloads
9
License
MIT
Repository
github
Last release
8 years ago

Multi Cloner

A utility that clones multiple git repositories.

Status

Usage

'use strict';

const MultiCloner = require('multi-cloner');

let config = {
  destination: '/tmp/tools', //path where all the repositories will be cloned
  repositories: [ //individual repositories to clone
    'https://github.com/fmatar/cassandra-installer.git',
    'https://github.com/fmatar/cloner.git'
  ]
};
const cloner = new MultiCloner(config);

/* Install the repositories specified in the configuration in the specified destination */
cloner.install((err, data) => {
  console.log(err, data);
});

/* Cleanup */
cloner.uninstall();

This module might not work on Windows since NodeGit is not guaranteed to work on Windows.

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.3

8 years ago

0.0.1

8 years ago