Optionally create a plugin along with any component #6148
Labels
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
Often a user wants to create a plugin for a specific purpose. For instance to create a widget, or a visualization, or a report.
Therefore he usually has to do the following steps:
./console generate:plugin
./console generate:(tasks | widget | report |...)
where he can select any existing plugin the component will belong to.Instead of only allowing to select an existing plugin we could also allow to directly create a new plugin along the component by entering a new plugin name and not choosing an existing one. Maybe we'd have to ask the user for confirmation before creating a new plugin in case it was a typo? Both in interactive mode and when specified as a CLI option.
The step would then only be
./console generate:(tasks | widget | report |...)
. Which is easier to understand and explain.See also #6145 to only generate a blank plugin which would kinda be a requirement for this
The text was updated successfully, but these errors were encountered: