When using the --port modifier the 'if interface == serial' statement in dev_shell.py line 94 is always wrong because the variable 'interface' is the complete string ('serial --port COM3' for example).
Suggested change: if interface.split()[0] == 'serial':