feat: enable string input for generate
#1039
+1,925
−665
Merged
generate
#1039