CLI: update to use the new port range dto