Comparing version 0.0.1 to 0.0.2
@@ -51,3 +51,3 @@ #! /usr/bin/env node | ||
copyPaste.copy(result, function () { | ||
console.log('\n%s %s', chalk.green(result), '(copied to clipboard)'); | ||
console.log('\n%s %s', result, chalk.dim('(copied to clipboard)')); | ||
}); | ||
@@ -54,0 +54,0 @@ }).catch(function (err) { |
@@ -29,1 +29,3 @@ #! /usr/bin/env node | ||
.argv; | ||
module.exports = yargs; |
{ | ||
"name": "node-gitio", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A simple Node CLI wrapper for git.io.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "mocha test" | ||
}, | ||
@@ -32,3 +32,10 @@ "keywords": [ | ||
"gitio": "./bin/gitio.js" | ||
}, | ||
"devDependencies": { | ||
"chai": "^3.2.0", | ||
"gulp": "^3.9.0", | ||
"gulp-mocha": "^2.1.3", | ||
"mocha": "^2.3.2", | ||
"shelljs": "^0.5.3" | ||
} | ||
} |
@@ -36,3 +36,2 @@ # node-gitio | ||
``` | ||
Usage: gitio shrink <long url> [-c code] [-f] | ||
@@ -75,3 +74,3 @@ | ||
console.log(result); | ||
}).catch(function (err) { | ||
}, function (err) { | ||
console.error(err); | ||
@@ -78,0 +77,0 @@ }); |
Sorry, the diff of this file is not supported yet
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
8437
152
2
5
119