It would be nice to have the functionality of the Execute plugin be something that could be set from the command line or, for the UI, when adding individual torrents. I use Deluge a lot, but I don't particularly want to execute my scripts for every single torrent I download, only some of them. As a user of FlexGet as well, this would be awesome because you could set scripts to be run from a FlexGet configuration.
You already have the base work done, you would just need to transfer the logic from the system as a whole to being tracked per-torrent and then add CLI options for each execution point you make (as of right now, I believe it is just on add and complete). So "--execute-added [command]" and "--execute-completed [command]" or something like that.
Thanks for your consideration!
Execute as a CLI option
Re: Execute as a CLI option
If you create a feature request ticket, it can be looked into, although code submissions would be preferred as there are few developers and a lot of tickets. The likely solution would be to have a torrent option, much the same as the label plugin.