Comparing version 1.0.0 to 1.0.1
@@ -23,12 +23,10 @@ var fs = require('fs'); | ||
global.create = function (options) { | ||
console.log('Creating ' + options.app + ' application'); | ||
download(options.baseUrl + options.app, "./", function (err) { | ||
if (err) return done(err); | ||
console.log(options.app + ' application created successfully'); | ||
done(); | ||
console.log(options.app + ' application created successfully'); | ||
}); | ||
} | ||
global.serve = function (options) { | ||
console.log('server'); | ||
serve(options); | ||
@@ -46,3 +44,2 @@ } | ||
} | ||
console.log(JSON.stringify(this.options)); | ||
if (process.argv.length > 2) { | ||
@@ -49,0 +46,0 @@ command = (process.argv[2]).toString().trim(); |
{ | ||
"name": "ej-cli", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
6160
167