How do the cliclick and MouseTools command line tools differ?
cliclicl is the easiest one to automate your work.
However too simple.
for example, In your terminal cliclicl dc:. will do double click.

I recommend using cliclicl If your purpose is just double click.
Mouse tools is relatively complex.

Try cliclicl.
If you need more powerful tool for automate, then use Mousetools.