add tree command

Change-Id: I4c462c284b6d0a08cb68c0f403d961acaa236968
Merge "add tree command" into production