Integration of external tool

I have downloaded the code of SNAPHU as example. But the plugin has a lot of arguments. Do you have a simpler example?

Dear all.
After weeks on other projects, I’m back on the project of integration of external programs written in Matlab in SNAP.
If I correctly understand, using ‘$sourceProductFile’ in the command line of the configuration parameters allows to use the input images (in ENVI format) of a DIM product as input.
Is there a similar argument for directly using the DIM file of a SNAP product?
Thanks in advance.
Best Regards.

Dear all.
Now, I managed to integrate my Matlab application in SNAP.
I still have a problem.
Indeed, after installing the bundle, I receive the message “Bundle installation failed” and if I look in the directory where the binary files must be installed, one file is not correctly copied (its size is different from the original one). In the log file, the last line related to the installation is “sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper”.
Maybe this line is linked to the installation problem. Can anyone help?
Best Regards.