code: def Devices(args):
      
      for d in adb_commands.AdbCommands.Devices():
          if args.output_port_path:
              print('%s\tdevice\t%s' % (
                  d.serial_number, ','.join(str(p) for p in d.port_path)))
          else:
              print('%s\tdevice' % d.serial_number)
      return 0
docs: Lists the available devices.
  
      Mimics 'adb devices' output:
        List of devices attached
        015DB7591102001A        device        1,2