mongopatch
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -102,6 +102,14 @@ #!/usr/bin/env node | ||
process.on('uncaughtException', function(err) { | ||
error(err); | ||
}); | ||
version(); | ||
var argv = optimist.argv; | ||
var opts = Object.keys(argv).reduce(function(res, key) { | ||
res[camelize(key)] = argv[key]; | ||
return res; | ||
}, {}); | ||
apply(argv._[0], camelize(argv)); | ||
apply(argv._[0], opts); |
{ | ||
"name": "mongopatch", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"repository": "git://github.com/e-conomic/mongopatch.git", | ||
@@ -5,0 +5,0 @@ "description": "MongoDB patching tool", |
22896
571