aviary-discovery
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "aviary-discovery", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./src/discover.js", |
@@ -9,2 +9,4 @@ #!/usr/bin/env node | ||
var flag = process.argv[2]; | ||
var discover = function() { | ||
@@ -14,2 +16,6 @@ return s3cli | ||
function(cli) { | ||
if (flag === '--debug' || flag === '-d') { | ||
cli.debug(); | ||
} | ||
return cli.ls() | ||
@@ -16,0 +22,0 @@ .then( |
@@ -104,2 +104,9 @@ 'use strict'; | ||
); | ||
}, | ||
debug: function() { | ||
console.log('S3 Client'); | ||
console.log('--------------------------------'); | ||
console.log(JSON.stringify(AWS.config, ' ', 3)); | ||
console.log('--------------------------------'); | ||
} | ||
@@ -106,0 +113,0 @@ }; |
6368
265