Comparing version 2.4.1 to 2.5.0
@@ -0,1 +1,7 @@ | ||
<a name="2.5.0"></a> | ||
# [2.5.0](https://github.com/blockai/bitstore-client/compare/v2.5.0...v2.5.0) (2015-11-17) | ||
<a name="2.4.1"></a> | ||
@@ -2,0 +8,0 @@ ## [2.4.1](https://github.com/blockai/bitstore-client/compare/v2.4.1...v2.4.1) (2015-11-16) |
@@ -142,2 +142,17 @@ #!/usr/bin/env node | ||
_commander2['default'].command('keys:put <key> <value>').description('put key in key-value store').action(function (key, value) { | ||
var client = initClient(); | ||
client.keys.put(key, value).then(success)['catch'](exit); | ||
}); | ||
_commander2['default'].command('keys:get <key>').description('get key from key-value store').action(function (key) { | ||
var client = initClient(); | ||
client.keys.get(key).then(success)['catch'](exit); | ||
}); | ||
_commander2['default'].command('keys:destroy <key>').description('remove key from key-value store').action(function (key) { | ||
var client = initClient(); | ||
client.keys.del(key).then(success)['catch'](exit); | ||
}); | ||
_commander2['default'].parse(process.argv); |
@@ -63,3 +63,3 @@ { | ||
}, | ||
"version": "2.4.1", | ||
"version": "2.5.0", | ||
"config": { | ||
@@ -66,0 +66,0 @@ "commitizen": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
615502
17
18518