docs: function runCommand (cmd, args = [], stdio = 'inherit') {
    return new Promise((resolve, reject) => {
      const proc = spawn(cmd, args, { stdio });
      const completeCommand = `${cmd} ${args.join(' ')}`.trim();
  
      proc.on('error', err => {
        return reject(new CommandFailure(completeCommand));
      });
  
      proc.on('close', code => {
        code = sanitizeCode(code);
        if (code !== 0) {
          return reject(new CommandFailure(completeCommand, code));
        }
        resolve();
      });
    });
  }