Skip to content

ember-cli/blprnt

Repository files navigation

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 blueprint = Blueprint.load('blprnt');

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

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

Generates the following:

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

Contributors

see: Contributors.md

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •