Gipter from CLI - PreCyz/GitDiffGenerator GitHub Wiki

Gipter from CLI

The first version of Gipter supported only the execution from command line. Later the UI was created. To run Gipter from the command line you must execute the java command for jars.

java -jar Gipter.jar useUI=N

The command runs Gipter with the default values for all parameters.

java -jar with params

For Windows

java -jar Gipter.jar useUI=N author="Anakin Skywalker" itemPath="c:\\Path\\to\\git\\diff\\item"
projectPath="c:\\Path\\to\\git\\project1,c:\\Path\\to\\git\\project"

For Linux

java -jar Gipter.jar useUI=N author="Anakin Skywalker" itemPath="/home/wall-e/Path/to/git/diff/item"
projectPath="/home/eva/Path/to/git/project1,/home/eva/Path/to/git/project2"

java -jar for 11+ distribution

%JFX11% = path to javafx distribution version 11+.
java -jar --module-path %JFX11% --add-modules="javafx.fxml,javafx.controls,javafx.media,javafx.web,javafx.swing" --add-exports="javafx.base/com.sun.javafx.event=ALL-UNNAMED" Gipter.jar

java -jar + applicationProperties.json at the same location as jar file

If there are applicationProperties.json file at the same location as your jar file then program can be run as follows: java -jar Gipter.jar useUI=N

Tips

If program is executed with commandline parameters and applicationProperties.json file at the same time, then setup from commandline has higher priority. Unless preferredArgSource is set to FILE, then applicationProperties.json has higher priority.

CLI + UI

To run Gipter from CLI but with UI use the following command:

java -jar Gipter.jar - the default value for the useUI is Y.

⚠️ **GitHub.com Fallback** ⚠️