code: def run_archive_cmdlist (archive_cmdlist, verbosity=0):
      
      # archive_cmdlist is a command list with optional keyword arguments
      if isinstance(archive_cmdlist, tuple):
          cmdlist, runkwargs = archive_cmdlist
      else:
          cmdlist, runkwargs = archive_cmdlist, {}
      return util.run_checked(cmdlist, verbosity=verbosity, **runkwargs)
docs: Run archive command.