Comparing version 0.5.6 to 0.5.7
@@ -20,2 +20,22 @@ var colors = require('colors'); | ||
subcommands.list = utils.module(function (exports) { | ||
exports.signature = 'overcast var list'; | ||
exports.help = function () { | ||
utils.printArray([ | ||
exports.signature, | ||
(' List variables in ' + utils.VARIABLES_JSON + '.').grey | ||
]); | ||
}; | ||
exports.run = function (args) { | ||
var vars = utils.getVariables(); | ||
utils.grey('Using ' + utils.VARIABLES_JSON); | ||
console.log(''); | ||
_.each(vars, function (value, name) { | ||
console.log(name + ': ' + value.green); | ||
}); | ||
}; | ||
}); | ||
subcommands.set = utils.module(function (exports) { | ||
@@ -22,0 +42,0 @@ exports.signature = 'overcast var set [name] [value]'; |
@@ -10,3 +10,3 @@ var fs = require('fs'); | ||
exports.VERSION = '0.5.6'; | ||
exports.VERSION = '0.5.7'; | ||
@@ -13,0 +13,0 @@ exports.clustersCache = null; |
{ | ||
"name": "overcast", | ||
"description": "A simple, SSH-based cloud management CLI.", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"repository": "https://github.com/andrewchilds/overcast.git", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -438,3 +438,3 @@ # ![Overcast Logo](http://i.imgur.com/eCBl2NI.png) | ||
``` | ||
Overcast v0.5.6 | ||
Overcast v0.5.7 | ||
@@ -859,2 +859,5 @@ Source code, issues, pull requests: | ||
``` | ||
overcast var list | ||
List variables in /path/to/.overcast/variables.json. | ||
overcast var set [name] [value] | ||
@@ -861,0 +864,0 @@ Set a variable in /path/to/.overcast/variables.json. |
280846
5028
977