Creating new console commands

Suggest, post, or discuss plugins for Deluge
Post Reply
karaken12

Creating new console commands

Post by karaken12 »

Hi, all! I'm just wondering if anyone knows how to get a new console command into a plugin. I've had no problems writing new commands -- the system is very easy to use and modify -- but I'm at a loss as to how to fit this into the existing plugin structure. For example, the Toggle plugin has no console command; it's quite easy to write a new command ('toggle', say), but I have no idea how this might be incorporated into the Egg file. Is there a recommended way of doing this? Or are plug-in console commands beyond the current structure?

Thanks,
Tom
Post Reply