Cannot generate plugin through console

I am currently working through Getting Started here:
https://developer.piwik.org/guides/getting-started-part-1

The following command is not available in the console:
./console generate:plugin --name=“MyPlugin”

I get the following error message:
[InvalidArgumentException]
Command “generate:plugin” is not defined.
Did you mean one of these?
core:plugin
generate:travis-yml

Has the syntax for generating a new plugin changed?

Did you enable development mode (as mentioned above in the guide)?

Try running this command:

./console development:enable

Let me know if you find anything wrong with the guides I would really appreciate it, I’m currently reviewing them and try to improve them :slight_smile:

1 Like