Support the use of --list to get a list of nodes
Adds list function to list serial ports