A few months ago I wrote a bit about extending your Known plugins to support console functionality. I’ve recently pushed a patch which will make this functionality even more useful.
Previously, you could only have one console command available to your regular Known plugin, this was of course limiting. Now, you can have multiple!
Create a directory Console
within your plugin’s home directory. Then fill it with one or more classes, which extend \Idno\Common\ConsolePlugin
, one for each command you want to export. The format of this is exactly the same as those for any other console plugin.
Enjoy!