assemble-contrib-download

Assemble plugin for downloading files from GitHub.

assemble-contrib-download

Assemble plugin for downloading files from GitHub.

In the command line, run:

npm install assemble-contrib-download --save

Next, to register the plugin with Assemble in your project's Gruntfile you can either specify the direct path to the plugin(s) (e.g. ./path/to/plugins/*.js), or if installed via npm, make sure the plugin is in the devDependencies of your project.js package.json, and simply add the module's name to the plugins option:

assemble: {
  options: {
    plugins: ['assemble-contrib-download', 'other/plugins/*.js']
  }
}

Visit the plugins docs for more info or for help getting started.

Type: String Default: assemble/handlebars-helpers

Repo from which to download files.

Type: String Default: tmp/

Destination for the downloaded files.

Type: Array Default: ['docs/helpers.zip']

Paths the file or files to download.

assemble: {
  options: {
    plugins: ['assemble-contrib-download'],
    download: {
      repo: 'assemble/handlebars-helpers',
      files: ['docs/helpers.zip'],
      dest: 'tmp/'
    }
  }
}

Find a bug? Have a feature request? Please create an Issue. Pull requests are also encouraged. If you find this project useful, please consider "starring" it to show your support! Thanks!

Here are some related projects you might be interested in from the Assemble core team.

Jon Schlinkert

Brian Woodward

Copyright (c) 2014 Jon Schlinkert, contributors. Released under the MIT license


This file was generated by grunt-readme on Friday, February 14, 2014.