|
8 | 8 |
|
9 | 9 | var sys = require('sys'),
|
10 | 10 | path = require('path'),
|
11 |
| - eyes = require('eyes'), |
| 11 | + cliff = require('cliff'), |
12 | 12 | forever = require('../forever');
|
13 | 13 |
|
14 | 14 | var cli = exports;
|
15 | 15 |
|
16 | 16 | var reserved = ['root', 'pidPath'];
|
17 | 17 |
|
18 |
| -var inspect = eyes.inspector({ stream: null, |
19 |
| - styles: { |
20 |
| - all: null, // Overall style applied to everything |
21 |
| - label: 'underline', // Inspection labels, like 'array' in `array: [1, 2, 3]` |
22 |
| - other: 'inverted', // Objects which don't have a literal representation, such as functions |
23 |
| - key: 'grey', // The keys in object literals, like 'a' in `{a: 1}` |
24 |
| - special: 'grey', // null, undefined... |
25 |
| - number: 'blue', // 1, 2, 3, etc |
26 |
| - bool: 'magenta', // true false |
27 |
| - regexp: 'green', // /\d+/ |
28 |
| - string: 'yellow' |
29 |
| - } |
30 |
| -}); |
31 |
| - |
32 | 18 | //
|
33 | 19 | // ### function exec (action, file, options)
|
34 | 20 | // #### @action {string} CLI action to execute
|
@@ -175,7 +161,7 @@ cli.list = function () {
|
175 | 161 | //
|
176 | 162 | cli.config = function () {
|
177 | 163 | var keys = Object.keys(forever.config.store),
|
178 |
| - conf = inspect(forever.config.store); |
| 164 | + conf = cliff.inspect(forever.config.store); |
179 | 165 |
|
180 | 166 | if (keys.length <= 2) {
|
181 | 167 | conf = conf.replace(/\{\s/, '{ \n')
|
|
0 commit comments