https://github.com/ember-cli/blprnt
https://github.com/ember-cli/blprnt
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ember-cli/blprnt
- Owner: ember-cli
- Created: 2014-12-21T20:32:13.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-12-06T00:51:41.000Z (about 8 years ago)
- Last Synced: 2025-06-14T04:37:37.927Z (8 months ago)
- Language: JavaScript
- Size: 162 KB
- Stars: 7
- Watchers: 13
- Forks: 6
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## blprnt
[](https://travis-ci.org/ember-cli/blprnt)
[](https://ci.appveyor.com/project/embercli/blueprint/branch/master)
**Under Construction**
A tool for describing and generating files and directory structures.
Extracted from [ember-cli](http://ember-cli.com/).
## Writing a blueprint
```
example-blueprint/
├── files
│ ├── lib
│ │ └── __name__.js
│ └── tests
│ └── __name__-test.js
└── index.js
```
## Installing a blueprint
```js
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](CONTRIBUTORS.md)