code: def do_version(self, cluster=None):
          
          if not cluster:
              if not self.has_cluster():
                  return None
              else:
                  cluster = api.get_cluster(self.cluster)
          else:
              try:
                  cluster = api.get_cluster(cluster)
              except ApiException:
                  print("Error: Cluster not found")
                  return None
  
          print("Version: %s" % (cluster.version))
docs: Obtain cluster CDH version
          Usage:
              > version
              or
              > version <cluster>