def do_version(self, cluster=None):
        """
        Obtain cluster CDH version
        Usage:
            > version
            or
            > version <cluster>
        """
        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))
Obtain cluster CDH version
        Usage:
            > version
            or
            > version <cluster>