user-guide:cli-groimp
Differences
This shows you the differences between two versions of the page.
| user-guide:cli-groimp [2024/04/12 11:41] – created gaetan | user-guide:cli-groimp [2024/04/29 15:05] (current) – removed gaetan | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== CLI GroIMP ===== | ||
| - | GroIMP can be started without its graphical interface, with a CLI. Unlike the Headless mode, the CLI enables interaction with the model during run time. | ||
| - | |||
| - | ==== Get started ==== | ||
| - | |||
| - | You can start the CLI application in a terminal with | ||
| - | |||
| - | > java -Xverify: | ||
| - | |||
| - | Then, to create the default new rgg template project, type '' | ||
| - | |||
| - | You can now run the model with `run`, reset with '' | ||
| - | |||
| - | You can also open your own project with '' | ||
| - | |||
| - | **Note: the command '' | ||
| - | |||
| - | ==== Tutorial ==== | ||
| - | |||
| - | You can have a look at [[: | ||
| - | |||
| - | ==== Common commands ==== | ||
| - | |||
| - | The commands are sorted by level of usage. There is currently three levels: at application, | ||
| - | |||
| - | The first character of a command indicates at which level it should be executed. | ||
| - | |||
| - | | **App commands ($)** | ||
| - | | $pwd | print the current system directory | ||
| - | | $ls | list all files of the current system directory | ||
| - | | $cd (system-path) | ||
| - | | $editFile (system-path) | ||
| - | | $open (system-path) | ||
| - | | $createWB (selected template(optional), | ||
| - | | $loadExample (identifier of the Example, name of the new WB(optional)) | load an example project | ||
| - | | $listExamples (search parameter (optional)) | ||
| - | | $listTemplates (search parameter (optional)) | ||
| - | | $selectWB (workbench id) | select a new workbench | ||
| - | | $listWB | ||
| - | | $listProjects | ||
| - | |||
| - | | **Window command (%)** | | | ||
| - | | only a small selection of the most used panels... | | | ||
| - | | %list | list all open windows | ||
| - | | %inspector | ||
| - | | %inspector: | ||
| - | | %inspector: | ||
| - | | %log | show the log | | ||
| - | | %fileexplorer | ||
| - | | %fileexpolorer: | ||
| - | |||
| - | | **Workbench command** | ||
| - | | open (system-path) | ||
| - | | save | save the file to the original location | ||
| - | | saveas (system-path) | ||
| - | | undo | undo last action | ||
| - | | compile | ||
| - | | listFunctions | ||
| - | | addNode (system-path or -o object-path) | add a Object form either a file or a 3d object (-o) to the scene | | ||
| - | | addFile (system-path) | ||
| - | | renameFile (file name , new name) | rename a file | | ||
| - | | removeFile (file name) | remove a file | | ||
| - | | export3d (system-path) | ||
| - | | close | closes the Project | ||
| - | | xlconsole | ||
| - | | graph | shows the hierarchic object inspector | ||
| - | | ls | list all files of the Project | ||
| - | | editFile (file name) | open Nano to edit a file | | ||
user-guide/cli-groimp.1712914875.txt.gz · Last modified: 2024/04/12 11:41 by gaetan
