Have you considered some form of api for this and other projects?
I don't it's possible since all my generators are purely client-side applications.