docs: def ch_config(cmd, *args, **kwargs):
      '''
      This function is called by the
      :mod:`salt.modules.esxi.cmd <salt.modules.esxi.cmd>` shim.
      It then calls whatever is passed in ``cmd`` inside the
      :mod:`salt.modules.vsphere <salt.modules.vsphere>` module.
      Passes the return through from the vsphere module.
  
      cmd
          The command to call inside salt.modules.vsphere
  
      args
          Arguments that need to be passed to that command.
  
      kwargs
          Keyword arguments that need to be passed to that command.
  
      '''
      # Strip the __pub_ keys...is there a better way to do this?
      for k in kwargs:
          if k.startswith('__pub_'):
              kwargs.pop(k)
  
      kwargs['host'] = DETAILS['host']
      kwargs['username'] = DETAILS['username']
      kwargs['password'] = DETAILS['password']
      kwargs['port'] = DETAILS['port']
      kwargs['protocol'] = DETAILS['protocol']
      kwargs['credstore'] = DETAILS['credstore']
  
      if 'vsphere.' + cmd not in __salt__:
          return {'retcode': -1, 'message': 'vsphere.' + cmd + ' is not available.'}
      else:
          return __salt__['vsphere.' + cmd](*args, **kwargs)