pestle
pestle copied to clipboard
Is this all good?
https://github.com/astorm/pestle/pull/258
Can probably validate if input is a valid Controller/Action combination. Index/Index was always valid.
For instance, AFAIK, Magento2 always took a controllers/actions(classes in general) that began with a block case, we could check for that.
At a base level we can check if the class names requested are valid php class names to begin with.
thanks @QwertyZW -- this is more a reminder to me that I should check the docs/and posts I've written about this command and make sure they're updated to use the new arguments. Appreciate the enthusiasm though!