123456789101112131415161718192021222324252627282930313233343536373839404142 |
- /**
- * cli.js: Config that conform to commonly used CLI logging levels.
- *
- * (C) 2010 Charlie Robbins
- * MIT LICENCE
- */
- 'use strict';
- /**
- * Default levels for the CLI configuration.
- * @type {Object}
- */
- exports.levels = {
- error: 0,
- warn: 1,
- help: 2,
- data: 3,
- info: 4,
- debug: 5,
- prompt: 6,
- verbose: 7,
- input: 8,
- silly: 9
- };
- /**
- * Default colors for the CLI configuration.
- * @type {Object}
- */
- exports.colors = {
- error: 'red',
- warn: 'yellow',
- help: 'cyan',
- data: 'grey',
- info: 'green',
- debug: 'blue',
- prompt: 'grey',
- verbose: 'cyan',
- input: 'grey',
- silly: 'magenta'
- };
|