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
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'));