From emai: command line

this came by email

I have the following problem and I can only solve it using the COMMAND LINE (CLI):

I created a GAN-file with the command “ganttproject file.csv”. Thereupon ganttproject opens a ganttchart based on the data of the imported CSV-file.

Now I would like to save this GAN-file, so I can export a JPG-file afterwards. Since the command for exporting a GAN-file looks something like this, “ganttproject -export jpg -out “C:\pic.jpg” HouseBuildingSample.gan”, I assume that the created GAN-file needs to be stored already.

Therefore I would like to know, how I can create a GAN-file and save it afterwards (ALL BY USING THE CLI)?

There is no way to convert CSV to .gan from the command line, however, if your ultimate goal is to get an image, you can convert CSV directly to PNG/JPG. This works fine in my setup:

./ganttproject /tmp/HouseBuildingSample.csv -export png -o /tmp/tmp.png

(where HouseBuildingSample.csv was produced by exporting HouseBuildingSample.gan to CSV)