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.
First install the tool using npm or yarn
npm install -g broilerplate
Node.js
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 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
cd .broil
mkdir foo
cd foo
touch component.js
echo "alert(\"this file is named [FileName]\");" >> component.js
cd ../..
broil foo bar
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Patrick Davis - Initial work - ThePatrickDavis
This project is licensed under the MIT License - see the LICENSE.md file for details
- Zach Johnson, who's golfing is an inspiration.