bash command for pgf tikz export
I'm looking for a way to reduce the number of clicks required to export to pgf tikz code. I came to the idea that a Linux bash terminal can be used for this purpose.
I am confused that in the graphical interface of geogebra it is possible to export the tikz code to pgf, but I did not find the corresponding command in the geogebra launch options. I tried to guess this command and of course "geogebra --export=output.tex test_export.ggb" did not produce output.tex file
I suspect that this is possible through manipulation of Java options for launching geogebra, but I do not understand this, so I ask for help.
Is there a way to create this bash command?
Using ubuntu 20, experimenting with geogebra 5