Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The recommended way to use the Importer/Exporter in CLI mode is to invoke the
impexp-client.jar
using thejava
tool. From the doc:This is neither intuitive nor handy and it also faces disadvantages. For example, you cannot easily put this command on your
PATH
and the{version}
part of the command must be adapted with every new release. In theory, you could use the provided start script3DCityDB-Importer-Exporter(.bat)
to run the Importer/Exporter in CLI mode. But at least for Windows, the start script uses"start /min cmd /c"
to execute the tool. This is OK and makes sense for launching the graphical user interface but suppresses all output when invoking the script from a shell.This PR proposes to have an explicit CLI script
impexp(.bat)
in addition to the start script. The CLI script is located in thebin
subfolder. This makes using the Importer/Exporter in CLI mode really simple. For example, the following command shows the help message and all available options:This way, the CLI script can be put in the
PATH
and is independent of the release version. And the start script can be re-implemented such that it just invokes the CLI script with the option to launch the GUI.