Flic already has a Tasker plugin. I've been using it myself for a very long time.
I have noticed a bug that doesn't allow double click and hold.
It's because we detect if there is none or only a function on Click then Flic app will only trigger Click. This is to reduce the delay that is meant to detect a double click.
This is in the backlog to be fixed.
Flic certainly is extremely powerful when used with Tasker!
/Amir from the Flic team