#!/usr/bin/env node

var gonzales = require('../lib/gonzales'),
    fs = require('fs'),
    filename = process.argv[2];

if (!filename) {
  console.log('Please supply a filename. Usage "gonzales file"');
  process.exit();
}

console.log(gonzales.astToTree(gonzales.cssToAST(fs.readFileSync(filename).toString())));


@@ -243,18 +243,23 @@
 les.
-astToTree(
+toString(%7Bast: 
 gonz
@@ -267,16 +267,13 @@
 les.
-cssToAST
+parse
 (fs.
@@ -306,13 +306,14 @@
 tring())
+%7D
 ));%0A%0A

Fix `bin/gonzales.js` to use new API