Added --dumprecipe option

This commit is contained in:
Jeremy Ruston
2011-12-10 11:46:13 +00:00
parent b526f8bfaf
commit d39b9a047f
2 changed files with 9 additions and 0 deletions

View File

@@ -127,6 +127,13 @@ var commandLineSwitches = {
process.nextTick(function() {callback(null);});
}
},
dumprecipe: {
args: {min: 0, max: 0},
handler: function(args,callback) {
console.log("Recipe is:\n%s",util.inspect(recipe,false,10));
process.nextTick(function() {callback(null);});
}
},
load: {
args: {min: 1, max: 1},
handler: function(args,callback) {