It would be great if the command could receive $EVENT, $INFO and $RECORD (and maybe $FILE or something like that) as environment variables, in order to allow different actions or to process exactly what changed.
Another option would be to replace some keywords in the command, but I like more the first option.
Example of command I need::
curl http://example.org -devent=$EVENT -dinfo=$INFO -drecord=$RECORD -XPOST
Thank you!
It would be great if the command could receive $EVENT, $INFO and $RECORD (and maybe $FILE or something like that) as environment variables, in order to allow different actions or to process exactly what changed.
Another option would be to replace some keywords in the command, but I like more the first option.
Example of command I need::
Thank you!