[cli / main] Support allocating ports at via run command