contrib/commander.js
function camelcase(flag) {
  return flag.split('-').reduce(function(str, word){
    return str + word[0].toUpperCase() + word.slice(1);
  });
}
function camelcase(flag) {
  return flag.split('-').reduce(function(str, word){
    return str + word[0].toUpperCase() + word.slice(1);
  });
}
function camelcase ( flag ) { return flag . split ( '-' ) . reduce ( function ( str , word ) { return str + word [ 0 ] . toUpperCase ( ) + word . slice ( 1 ) ; } ) ; }
Camel-case the given `flag`

@param {String} flag
@return {String}
@api private
Camel - case the given flag