Sorry about the fact that I no longer have the version I played around with awhile ago. Had it worked w/o problems I would have released it to everyone.
However, there may be an easy way to wrap CliGenerator. The MSBuild team released this tool to help wrap command line programs. You may be able to configure it to wrap CliGenerator and generate the MSBuild task for you.