blprnt
A tool for describing and generating files and directory structures
Last updated 4 years ago by stefanpenner .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install blprnt 
SYNC missed versions from official npm registry.

blprnt

Build Status Build status

Under Construction

A tool for describing and generating files and directory structures.

Extracted from ember-cli.

Writing a blueprint

example-blueprint/
├── files
│   ├── lib
│   │   └── __name__.js
│   └── tests
│       └── __name__-test.js
└── index.js

Installing a blueprint

var Blueprint = require('ember-cli-blueprint');

var exampleBlueprint = Blueprint.load('path/to/example-blueprint');

var options = {
  entity: {
    name: 'foo'
  },
  target: 'path/to/destination'
};

fooBlueprint.install(options)
  .then(function() {
    console.log('Done!');
  });

Generates the following:

path/to/destination/
├── lib
│   └── foo.js
└── tests
    └── foo-test.js

Current Tags

  • 0.0.0                                ...           latest (4 years ago)

1 Versions

  • 0.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (19)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |