#!/usr/bin/nodejs
/*jslint indent: 2, node: true*/
"use strict";

var program = require("commander"),
  main = require("../index.js"),
  options = require("../lib/options.js");

program
  .version("0.0.10")
  .option("-q, --quiet", "Don't output progress info")
  .usage("[command] <file>");

program
  .command("* <file>")
  .action(function (filename, options) {
    main.compileBook(filename, {
      quiet: program.quiet
    });
  });

program.parse(process.argv);

@@ -168,16 +168,64 @@
 ons.js%22)
+,%0A  version = require(%22../package.json%22).version
 ;%0A%0Aprogr
@@ -242,16 +242,15 @@
 ion(
-%220.0.10%22
+version
 )%0A  

version number in CLI is retrieved from package.json