YahooArchive / mojito-cli-create

[archiving soon] Provide the `create` command for the mojito-cli tool to make scaffolding/boilerplate.
BSD 3-Clause "New" or "Revised" License
1 stars 6 forks source link

Mojito search path: also look for archetypes in env.mojito.path, if exists #26

Open isao opened 10 years ago

isao commented 10 years ago

(Reposting after using the wrong fork isao/mojito-cli-create#6 :/ )

Prepend "$mojito/archetypes" to the array of directories in which to find archetype templates.

The value of $mojito is either /node_modules/mojito if it exists, or specified by the --libmojito option.

See also issue yahoo/mojito#1301

Note that you can use also use the full path to any directory for archetype templates.

caridy commented 10 years ago

+1