jazzsequence / generator-wp-plugin

Yeoman WordPress Plugin Generator
5 stars 1 forks source link

Create class subgenerator #15

Open jazzsequence opened 7 years ago

jazzsequence commented 7 years ago

Class subgenerator will create a new class with the file name class-{class name}.php where the class name is from user input. Will automatically add the require to the main plugin file.

Japh commented 7 years ago

Worth implementing something like --save that npm uses for installs to determine whether to add to the main plugin file? Or just leave it for the developer to move if necessary?