Displays all or a part of the contents of a Team Foundation version control server. tf dir itemspec /version:versionspec ...

Displays all or a part of the contents of a Team Foundation version control
server.

tf dir itemspec [/version:versionspec] [/recursive]
       [/folders] [/deleted] [/login:username,[password]]
       [/collection:TeamProjectCollectionUrl]