Comparing version 0.2.1 to 1.0.0
(function() { | ||
var Bang, CLI, Command, exec; | ||
var Bang, CLI, Command, exec, package; | ||
var __slice = Array.prototype.slice; | ||
@@ -11,2 +11,4 @@ | ||
package = require("../package.json"); | ||
module.exports = CLI = (function() { | ||
@@ -17,3 +19,3 @@ | ||
this.program = new Command; | ||
this.program.version("0.2.1").usage("[options] [key] [value]").option("-d, --delete", "delete the specified key").option("-h, --help", "get help").parse(args); | ||
this.program.version(package.version, "-v, --version").usage("[options] [key] [value]").option("-d, --delete", "delete the specified key").option("-h, --help", "get help").parse(args); | ||
} | ||
@@ -20,0 +22,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "Text snippets on the command line.", | ||
"version": "0.2.1", | ||
"version": "1.0.0", | ||
"homepage": "https://github.com/jimmycuadra/bang", | ||
@@ -8,0 +8,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
27315
294
0