0.2.2 • Published 8 years ago
multi-cloner v0.2.2
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.