broilerplate
v1.0.4
Published
Generate boilerplate code from the command line
Downloads
1
Maintainers
Readme
Broilerplate
Broilerplate provides a CLI for generating boilerplate code. It was inspired by the ease to create components in angular, and the lack of a ClI for angular.js.
Getting Started
First install the tool using npm or yarn
npm install -g broilerplate
Prerequisites
Node.js
Installing
First install the tool using npm or yarn
npm install -g broilerplate
Create a .broil
directory in the same directory your `.package.json' file resides.
Create a broilerplate schematic
Instructions
Create a directory in the .broil
directory.
Add at least one file to the directory
Use the broil command to create a new directory based on your schematic
Example
cd .broil
mkdir foo
cd foo
touch component.js
echo "alert(\"this file is named [FileName]\");" >> component.js
cd ../..
broil foo bar
Build With
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Patrick Davis - Initial work - ThePatrickDavis
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Zach Johnson, who's golfing is an inspiration.