gulp-gh-clone
Clone github repositories into a specified folder.
Install
Install with npm:
$ npm install gulp-gh-clone --save
Usage
var clone = ;
API
clone
Returns a vinyl stream that will all the given function for each file coming through. The function should return an array of github repositories to be cloned.
Params
options
{Object}: Optionsoptions.fn
{Function}: Function that takes afile
object and returns an array of github repositories.options.dest
{String|Function}: Destination path to clone the repos to. If a function, then it will be called with the repo name and expect a string to be returned.returns
{Stream}: Stream to be used in a gulp pipeline.
Example
var options = dest: 'dist' { var data = JSON; return Object; }; gulp;
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Building docs
Generate readme and API documentation with verb:
$ npm install verb && npm run docs
Or, if verb is installed globally:
$ verb
Running tests
Install dev dependencies:
$ npm install -d && npm test
Author
Brian Woodward
License
Copyright © 2016, Brian Woodward. Released under the MIT license.
This file was generated by verb, v0.9.0, on June 17, 2016.