Currently only prompts for inPanel, but could prompt for all of the following and only build out the required files. Since all are booleans and default to true, could be done w/ one checklist prompt that defaults to checked, like:
If hasSettingsPage is checked, then could show a second prompt w/ the following (defaulting to answers from above for hasUIFile, hasLocale, and hasStyle):
Based on the answers from above, the generator would create the appropriate files and update the properties object in manifest.json and clazz object as needed.
While this would be simple to implement (aside from basing the second pompt on answers from the first), writing tests for the un/checked state of each could be time consuming.
Only manifest.json need these properties, clazz object doesn't need them. We put these properties in clazz object in the very early version.
Great, thanks @qlqllu!
only scaffold template file if hasUIFile is true