Skip to content

ThePatrickDavis/broilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.

About

Create boilerplate code using a CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published