buddy-cli
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -7,2 +7,3 @@ 'use strict'; | ||
, useCli = ~require.main.filename.indexOf('buddy-cli'); | ||
let builder; | ||
@@ -21,2 +22,4 @@ // Register for uncaught errors and clean up | ||
builder = new Builder(); | ||
program | ||
@@ -37,3 +40,3 @@ .version(version) | ||
.action((config) => { | ||
(new Builder()).build(config, getOptions()); | ||
builder.build(config, getOptions()); | ||
}); | ||
@@ -48,3 +51,3 @@ | ||
options.watch = true; | ||
(new Builder()).watch(config, options); | ||
builder.watch(config, options); | ||
}); | ||
@@ -59,3 +62,3 @@ | ||
options.deploy = true; | ||
(new Builder()).deploy(config, options); | ||
builder.deploy(config, options); | ||
}); | ||
@@ -62,0 +65,0 @@ |
{ | ||
"name": "buddy-cli", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "The command-line bootstrapper for buddy", | ||
@@ -5,0 +5,0 @@ "author": "popeindustries <alex@pope-industries.com>", |
7421
123