File > Produce File > Dump Database to IDC & File > Produce File > Dump Typeinfo to IDC shold do the trick
If you execute the command when you just loaded the binary, and after finishing working on it, using winmerge or some scripting you can get just commands relevant to the changes you made.