Wire it, don't configure it
My generator could offer twenty-six config adapters, and the wizard's way of asking about them was all wrong. So the generator stopped asking, and the user tells the tool instead.

My generator could offer twenty-six config adapters, and the wizard's way of asking about them was all wrong. So the generator stopped asking, and the user tells the tool instead.

How big is a tool that does nothing? For go-tool-base it was 81 MB, and a comment in the code said it shouldn't have been.

A generated nested command would not compile, and the cause was a scaffolder handing every call the same key regardless of depth.
