code: def run(self, path, pretend=False):
          
          self._notes = []
  
          files = self._get_migration_files(path)
  
          ran = self._repository.get_ran()
  
          migrations = [f for f in files if f not in ran]
  
          self.run_migration_list(path, migrations, pretend)
docs: Run the outstanding migrations for a given path.
  
          :param path: The path
          :type path: str
          :param pretend: Whether we execute the migrations as dry-run
          :type pretend: bool