Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 631 Bytes

.verb.md

File metadata and controls

31 lines (20 loc) · 631 Bytes

Usage

CLI

When installed globally, the gh-repo generator is available to use through the gen command:

Create a new GitHub repository using the default task.

$ gen gh-repo

API

Params

  • app {Object}: generate instance to add tasks to.

Example

// use as a plugin with existing generate instance
// $ gen gh-repo
app.use(require('generate-gh-repo'));

// use as a subgenerator on an existing generate instance
// $ gen repo
app.register('repo', require('generate-gh-repo'));