Permalink
Browse files

Ability to set --no-colors and --verbosity by environment variables

  • Loading branch information...
1 parent 11b5166 commit 661edb8803507a777f17c8aa4bc7693582882d16 @j0tunn j0tunn committed Mar 7, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/commands/make.js
View
@@ -60,12 +60,13 @@ module.exports = function() {
.opt()
.name('verbosity').short('v').long('verbosity')
.title('Verbosity level (' + Object.keys(LOGGER.levels).join(', ') + '), default: info')
- .def('info')
+ .def(process.env.BEM_MAKE_VERBOSITY || 'info')
.end()
.opt()
.name('noColors').long('no-colors')
.title('Disable colorful output')
.flag()
+ .def(process.env.BEM_MAKE_NO_COLORS === 'true')
.end()
.arg()
.name('targets').title('Build targets')

0 comments on commit 661edb8

Please sign in to comment.