Licence
MIT
Version
0.2.2
Deps
3
Vulns
0
Weekly
0
Multi Cloner
A utility that clones multiple git repositories.
Status
| Build Status | Dependencies | Coverage |
|---|
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.