code: def index(config, include_message=False):
      
      state = State(config=config)
      logger.debug("Running show command")
      logger.info("--------Configuration---------")
      logger.info(f"Path: {config.path}")
      logger.info(f"Archiver: {config.archiver}")
      logger.info(f"Operators: {config.operators}")
      logger.info("")
      logger.info("-----------History------------")
  
      data = []
      for archiver in state.archivers:
          for rev in state.index[archiver].revisions:
              if include_message:
                  data.append(
                      (
                          format_revision(rev.revision.key),
                          rev.revision.author_name,
                          rev.revision.message[:MAX_MESSAGE_WIDTH],
                          format_date(rev.revision.date),
                      )
                  )
              else:
                  data.append(
                      (
                          format_revision(rev.revision.key),
                          rev.revision.author_name,
                          format_date(rev.revision.date),
                      )
                  )
  
      if include_message:
          headers = ("Revision", "Author", "Message", "Date")
      else:
          headers = ("Revision", "Author", "Date")
      print(
          tabulate.tabulate(
              headers=headers, tabular_data=data, tablefmt=DEFAULT_GRID_STYLE
          )
      )
docs: Show information about the cache and runtime.
  
      :param config: The wily configuration
      :type  config: :namedtuple:`wily.config.WilyConfig`
  
      :param include_message: Include revision messages
      :type  include_message: ``bool``