It's great that the preview:generate-all command has the option to specify paths! But it would be even better if the same same was also possible with pre-generation. This would make it possible to generate previews only for some folders during normal operation - and not only during the initial import.
So what do you think about adding the [--path=PATH ...] option also to the preview:pre-generate command?
I'm not sure how much of the code from Generate.php can be reused. Maybe this is not so much of an effort?
It's great that the
preview:generate-all
command has the option to specify paths! But it would be even better if the same same was also possible with pre-generation. This would make it possible to generate previews only for some folders during normal operation - and not only during the initial import.So what do you think about adding the
[--path=PATH ...]
option also to thepreview:pre-generate
command?I'm not sure how much of the code from Generate.php can be reused. Maybe this is not so much of an effort?