I think the only way to get the content from the shelveset using the command line client would be to unshelve it into the workspace.
What's the scenario you are trying to address? Is this in some sort of automation system - if so, the
TFS SDK for Java might be of help.
http://www.woodwardweb.com