colshacol / remmy

Easily create new file-structure scaffolds from template directories.

Home Page:https://www.npmjs.com/package/remmy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

remmy

The template directory factory.

npm i -g remmy

Configuration

Add the configuration to your package.json:

"remmy": {
  "rootDir": "./source",
  "templates": "./path/to/templates",
  "variables": {
    "instanceName": "NAME__"
  }
}

rootDir

I don't remember exactly what this one is for. But I think it was the root directory of where remmy will search for directories for your clone to be placed.

templates

The path to the directory in which your template directories exist.

variables

Currently only supports (and requires) instanceName. This is what remmy will look for in your files / file names to replace with your instance's name.

Usage

Create your templates inside of ./path/to/templates.

Finally, just run remmy.

remmy-demo

Inspired by birla.

About

Easily create new file-structure scaffolds from template directories.

https://www.npmjs.com/package/remmy


Languages

Language:JavaScript 100.0%