I am writing code such that an ImageJ2 plugin would automatically print what would be needed for it to be run from command line, e.g.
"Plugin Name" "parameter1='1',parameter2='2"
My idea is that one can then simply put
ImageJ-binary --ij2 --run
in front of it and can run the IJ2 plugin from command line.
My issue is that I did not find an elegant way to automatically generate above parameter String, because
parameter1 is the name of the java variable and not a string…
Is there a good way?