cli-boilerplate
This is a super simple command line module that copies HTML5 boilerplate to your clipboard so that you can open a new file, paste and 💥.
Currently just works on Macs or things that have pbcopy
$ boilme
When you paste you get:
Title
The boilerplate included here is adapted from the lovely @thefoxis's repository thefoxis/html-boilerplate.
You can use it as-is or adapt it to your own boilerplate needs
Use it
You'll need Node.js and NPM (which comes when you install Node.js) on your computer.
Install cli-boilerplate
globally on you computer with NPM:
$ npm install -g cli-boilerplate
From any terminal window, run the boilme
command to get the boilerplate copied to you clipboard.
$ boilme
Then paste it where you want it. Done!
Adapt it
You'll need Node.js and NPM (which comes when you install Node.js) on your computer.
Clone this repository (or a fork of it) to your computer:
$ git clone git@github.com:jlord/cli-boilerplate.git
Open it up in your text editor and edit the boilerplate.html
file as you'd like it. Save.
$ cd cli-boilerplate
Link this version to your system so that Node uses it when you run boilme
. From inside the cli-boilerplate
directory link it:
$ npm link
Then run boilme
from any terminal window. Yay!