docs: def cmd(self, *args, **kwargs):
          """
          Execute tmux command and return output.
  
          Returns
          -------
          :class:`common.tmux_cmd`
  
          Notes
          -----
          .. versionchanged:: 0.8
  
              Renamed from ``.tmux`` to ``.cmd``.
          """
  
          args = list(args)
          if self.socket_name:
              args.insert(0, '-L{0}'.format(self.socket_name))
          if self.socket_path:
              args.insert(0, '-S{0}'.format(self.socket_path))
          if self.config_file:
              args.insert(0, '-f{0}'.format(self.config_file))
          if self.colors:
              if self.colors == 256:
                  args.insert(0, '-2')
              elif self.colors == 88:
                  args.insert(0, '-8')
              else:
                  raise ValueError('Server.colors must equal 88 or 256')
  
          return tmux_cmd(*args, **kwargs)