diff --git a/lib/forever/cli.js b/lib/forever/cli.js index ef88df70..84063608 100644 --- a/lib/forever/cli.js +++ b/lib/forever/cli.js @@ -8,27 +8,13 @@ var sys = require('sys'), path = require('path'), - eyes = require('eyes'), + cliff = require('cliff'), forever = require('../forever'); var cli = exports; var reserved = ['root', 'pidPath']; -var inspect = eyes.inspector({ stream: null, - styles: { - all: null, // Overall style applied to everything - label: 'underline', // Inspection labels, like 'array' in `array: [1, 2, 3]` - other: 'inverted', // Objects which don't have a literal representation, such as functions - key: 'grey', // The keys in object literals, like 'a' in `{a: 1}` - special: 'grey', // null, undefined... - number: 'blue', // 1, 2, 3, etc - bool: 'magenta', // true false - regexp: 'green', // /\d+/ - string: 'yellow' - } -}); - // // ### function exec (action, file, options) // #### @action {string} CLI action to execute @@ -175,7 +161,7 @@ cli.list = function () { // cli.config = function () { var keys = Object.keys(forever.config.store), - conf = inspect(forever.config.store); + conf = cliff.inspect(forever.config.store); if (keys.length <= 2) { conf = conf.replace(/\{\s/, '{ \n') diff --git a/package.json b/package.json index cbca6252..9ea76333 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "dependencies": { "async": "0.1.x", "colors": "0.x.x", + "cliff": "0.x.x", "eyes": "0.1.x", "daemon": "0.3.x", "nconf": "0.x.x",