User Tools

Site Tools


user-guide:command-line-arguments

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
user-guide:command-line-arguments [2024/07/05 15:16] – created gaetanuser-guide:command-line-arguments [2024/12/02 09:10] (current) tim
Line 3: Line 3:
 Here is a list of all accepted GroIMP command line arguments (the are given after the .jar): Here is a list of all accepted GroIMP command line arguments (the are given after the .jar):
  
-  * --project-tree this argument is used when GroIMP is run in Eclipse, it tells GroIMP to load classes under the local /PLUGIN/target/classes/ repositories where PLUGIN is the name of each directories at the root of GroIMP. This path is different when GroIMP is run after packaging. By default GroIMP load classes in ./plugins/PLUGIN/PLUGIN.jar where PLUGIN is the name of each plugins. +  * ''%%--project-tree%%'' this argument is used when GroIMP is run in Eclipse, it tells GroIMP to load classes under the local /PLUGIN/target/classes/ repositories where PLUGIN is the name of each directories at the root of GroIMP. This path is different when GroIMP is run after packaging. By default GroIMP load classes in ./plugins/PLUGIN/PLUGIN.jar where PLUGIN is the name of each plugins. 
-  * -headless this argument start GroIMP headless, i.e. without a graphical interface. Usually you also define the project to open as an argument (see 4.). +  * ''%%--headless%%'' this argument start GroIMP headless, i.e. without a graphical interface. Usually you also define the project to open as an argument (see 4.). 
-  * -a api this argument defines which application will be started (current available application: imp, cli, api). By default GroIMP starts with imp. +  * ''%%-a api%%'' this argument defines which application will be started (current available application: imp, cli, api). By default GroIMP starts with imp. 
-  * -p /path/to/a/directory/ link a directory to the list of loaded plugins. +  * ''%%-p /path/to/a/directory/%%'' link a directory to the list of loaded plugins. 
-  * -t config file+  * ''%%-t config file%%''
   *    * 
   * ' ' path/to/a/model.gsz this argument requires to be used last. It gives a model to be opened after start.   * ' ' path/to/a/model.gsz this argument requires to be used last. It gives a model to be opened after start.
 +  * ''%%-- -cmd "/path/to/command"%%'' run a specific GroIMP command when starting GroIMP 
  
user-guide/command-line-arguments.1720185384.txt.gz · Last modified: 2024/07/05 15:16 by gaetan