Categories
CMS Mastering Development

Trouble with Custom Command in Custom Plugin. How do I do it?

I found the documentation here very confusing: https://craftcms.com/docs/3.x/extend/commands.html#module-setup

I’ve scaffolded a simple test plugin from https://pluginfactory.io/ with "Console Commands" enabled and I’ve pulled my plugin into composer via ‘path’. The plugin shows up fine in the Craft UI, and so I installed it.

However, I can’t get the new command to display in the terminal when I do a ‘php craft’. Am I supposed to see it?

Leave a Reply

Your email address will not be published. Required fields are marked *