whittle-cli
v1.0.6
Published
A simple CLI for scaffolding modular HTML/CSS projects based on Stylus and Pug(Jade) .
Downloads
4
Readme
whittle-cli
A simple CLI for scaffolding modular HTML/CSS projects based on Stylus and Pug(Jade) .
Installation
Prerequisites: Node.js (>=4.x, 6.x preferred), npm version 3+ and Git.
$ npm install -g whittle-cli
Usage
$ whittle init <project-name>
Example:
$ whittle init example-project
$ cd example-project
$ npm install
$ gulp
Use Option mode:
$ whittle init
Option list:
- Support mobile
- Support IE8+
- Export PHP Template
- Import font-awesome
- Import bootstrap
Build HTML/CSS
$ gulp build
Build PHP Native template
$ gulp php
Build Other Language Template
Implementations in other languages:
Other:
- Emacs Mode
- Vim Syntax
- TextMate Bundle
- Coda/SubEtha syntax Mode
- html2pug converter
- pug2php converter
- Pug Server Ideal for building local prototypes apart from any application
- pug-ruby gem: Allows to invoke Pug and Jade from Ruby
- pug-rails gem: Integrates Pug and Jade into your Rails application