lib/_cli/cli-util.js
function (program) {
    var verbosity = program.verbose
    if (program.quiet) {
      verbosity = 0
    } else if (typeof verbosity === 'undefined') {
      verbosity = 1
    }
    return verbosity
  }
function (program) {
    var verbosity = program.verbose
    if (program.quiet) {
      verbosity = 0
    } else if (typeof verbosity === 'undefined') {
      verbosity = 1
    }
    return verbosity
  }
function ( program ) { var verbosity = program . verbose if ( program . quiet ) { verbosity = 0 } else if ( typeof verbosity === 'undefined' ) { verbosity = 1 } return verbosity }
Determines the logging verbosity for the specified Commander program
object.
@param {Program} program - Commander program / command.
@returns {Number} Verbosity level where 0 = silence to N = most verbose.
Determines the logging verbosity for the specified Commander program object .