Let me rephrase....Just fold them out when needed, plug them in, unplug and back in when done.If they are plugged in within the cabinet, there is a 99% chance it would not be code compliant (you need the cupboard door to cut power to the cabinet when closed).
Pop-up spill proof plug