How to list bluetooth devices from command line
Simply typing in:
blued

bluetoothd (Mojave or newer)

Will return a list of paired devices according to to the link key. I don't know how to have it exit cleanly, so to return to the prompt you will need to press Control+c