Permalink
Browse files

Disable colors

  • Loading branch information...
1 parent 99716b0 commit 16bdc0245a8aba70523ca5e05eba00bcc5429192 @saintedlama saintedlama committed Feb 22, 2013
Showing with 12 additions and 11 deletions.
  1. +12 −11 lib/prompt/app.js
View
@@ -1,25 +1,26 @@
var prompt = require('prompt');
module.exports = function(defaults, override, cb) {
- prompt.message = 'bumm'.grey;
+ prompt.message = 'bumm';
prompt.delimiter = ': ';
+ prompt.colors = false;
prompt.override = override;
prompt.start();
prompt.get({
properties: {
- 'name' : { description: 'name'.green, default : defaults.name },
- 'version' : { description:'version'.green, default: '0.0.0' },
- 'description' : { description: 'description'.green },
- 'main' : { description: 'main'.green, default: 'app.js' },
- 'dependencies' : { description: 'dependencies'.green, default: 'express: 3.1.x, jade: >0.0.1, mongoose: 3.5.x' },
- 'devDependencies' : { description: 'devDependencies'.green, default: 'mocha: *' },
- 'mongoSessionStore': { description: 'use mongodb as session store'.green, default: 'yes' },
- 'i18n' : { description: 'use i18n internationalization module'.green, default: 'no' },
- 'scripts' : { description:'scripts/start'.green, default: 'nodemon -wmodels -wconfig -wroutes app.js' },
- 'repository' : { description:'repository'.green }
+ 'name' : { description: 'name', default : defaults.name },
+ 'version' : { description:'version', default: '0.0.0' },
+ 'description' : { description: 'description' },
+ 'main' : { description: 'main', default: 'app.js' },
+ 'dependencies' : { description: 'dependencies', default: 'express: 3.1.x, jade: >0.0.1, mongoose: 3.5.x' },
+ 'devDependencies' : { description: 'devDependencies', default: 'mocha: *' },
+ 'mongoSessionStore': { description: 'use mongodb as session store', default: 'yes' },
+ 'i18n' : { description: 'use i18n internationalization module', default: 'no' },
+ 'scripts' : { description:'scripts/start', default: 'nodemon -wmodels -wconfig -wroutes app.js' },
+ 'repository' : { description:'repository' }
}
}, function(err, result) {
if (err) {

0 comments on commit 16bdc02

Please sign in to comment.