My generator prep included a poor man's transfer switch. This consisted of j-box adjacent to the front storage compartment (meant to house the genny) with wiring back to the electrical compartment where the shore power cord is stored.  Inside that box is an extra 30amp outlet connected to the j-box.  When on genny, plug the shore power cord into this genny outlet.  If on shore power, plug the cord into the power pedestal. 
I have commandeered this wiring and use it with my inverter which is near the front compartment.  I simply wired the inverter output to the j-box and I plug the shore power cord into the extra outlet if using the inverter (after setting fridge to gas and turning of the converter).  If I need a genny, I'll carry a portable.