fixed deprecated for generate commands
Merge pull request #29 from virtualize/generator_deprecated_fix

fixed deprecated for generate commands