hammerspoon2-docs
    Preparing search index...

    Function availablePortNames

    • Returns the names of all currently connected serial ports.

      Returns string[]

      An array of port name strings (e.g. "usbserial-1420")