code: def cli(self, prt=sys.stdout):
          
          kws = self.objdoc.get_docargs(prt=None)
          print("KWS", kws)
          goids = GetGOs().get_goids(kws.get('GO'), kws.get('GO_FILE'), sys.stdout)
          if not goids and 'name' in kws:
              goids = self.objsub.get_goids(kws['obo'], kws['name'])
          self.objsub.prt_goterms(kws['obo'], goids, prt, b_prt=False)
          print("Printing {N:6} GO IDs: {GOs}".format(N=len(goids), GOs=goids))
docs: Command-line interface to print specified GO Terms from the DAG source .