The command CreateNeededCroppings does currently generate a flash message which is not used when using the command via CLI. As I didn't know the intentions I left it like it is.
Proposal: If CLI call I would use $io to show the info to the user and just use the flash message if called via backend
The command
CreateNeededCroppings
does currently generate a flash message which is not used when using the command via CLI. As I didn't know the intentions I left it like it is.Proposal: If CLI call I would use
$io
to show the info to the user and just use the flash message if called via backend