Closed gidantribal closed 9 years ago
This works since version 0.5.0 using the special :ALL
action:
config.trigger.before :ALL do
run "ls"
end
If instead you need to run a trigger on all actions except one or more, you could use the new blacklist syntax:
config.trigger.blacklist :destroy
config.trigger.before :ALL do
run "ls"
end
BTW, I leave the ticket open since some documentation is still needed.
thanks, that works like a charm!
Hello,
I have a specific use case, where I need to copy a private key to a temporary location and assign it proper access rights. I need this copy because it's impossible to correctly control the file access rights from a directory on windows host mapped to the Ubuntu guest.
To do this I used your plugin:
But I have two problem with this: