I know this is quite late but I think this might be what you're looking for:
xcrun xcdevice list
It returns a list of both simulators and non-simulators with the same info from the GUI.