Added getDescendants support to tree command