code: def removeOntology(self):
          
          self._openRepo()
          ontology = self._repo.getOntologyByName(self._args.ontologyName)
  
          def func():
              self._updateRepo(self._repo.removeOntology, ontology)
          self._confirmDelete("Ontology", ontology.getName(), func)
docs: Removes an ontology from the repo.