0.0.2 • Published 8 years ago

kalastatic-cli v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

kalastatic-cli Build Status

Command line interface for KalaStatic.

Install

Dependencies

Globally

$ npm install kalastatic-cli -g

Project Dependency

To install KalaStatic as a dependency in your project:

$ npm install kalstatic-cli --save

Usage

Write

Construct your source files, using the template engine name in the file extension.

src/index.html.jade

---
youAreUsingJade: true
pretty: true
---
doctype html
html(lang="en")
  head
    title= title
  body
    h1 Jade - node template engine

Build

Globally

$ kalastatic

Project

$ node_modules/.bin/kalastatic

API

var KalaStatic = require('kalastatic')
KalaStatic('path/to/site').then(function() {
  // Site built
})