cli: add --objects option to "tree" command