Closed svenjungnickel closed 6 years ago
Perhaps you can try Yeoman 1.8.5? I have not tested anything with Yeoman 2.0 yet.
I tested it with Yeoman 1.8.5. now but it is still not working.
Paste in the command line arguments you're using, please?
I used yo craftplugin
without any parameters and filled in my details. At the question about the code comments I unselect the option.
I just tested it with the parameter yo craftplugin --codeComments=""
and this is working. Its just not working if you provide no parameters.
Weird, it must be something with optionOrPrompt
. Which API version do you select? 2.5.x or 3.x?
I select 3.x. I didn’t test it with 2.5.x yet.
Alright I'll give it a whirl, thanks
This has been fixed in 1.3.8:
https://github.com/nystudio107/generator-craftplugin/releases/tag/1.3.8
...and has been deployed to https://pluginfactory.io/
When I unselect the code comment option on the command line tool, the generator generates code comments regardless. At the online service on https://pluginfactory.io/ it is working fine. Maybe I'm using the command line tool wrong?
I'm using the latest generator version 1.3.7 as well the latest yeoman version 2.0.