forked from yeoman/generator
-
Notifications
You must be signed in to change notification settings - Fork 0
invoke
Mickael Daniel edited this page Jan 16, 2013
·
1 revision
Receives a namespace, and an Hash of options to invoke a given
generator. The usual list of arguments can be set with options.args
(ex. nopt's argv.remain array)
It's used to hookFor another generator from within your generators.
- namespace - The namespace value to look for.
- options - The Hash of options to invoke the generator with. See
Environment#createfor the list of possible values.
Returns the generator instance.