Add support for generating module assets when using multiple module paths

Adds support for the generate commands when using multiple module paths.