01_user_documentation:10_additional_interfaces:cli
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 01_user_documentation:10_additional_interfaces:cli [2025/01/30 10:54] – removed - external edit (Unknown date) 127.0.0.1 | 01_user_documentation:10_additional_interfaces:cli [2025/12/12 14:58] (current) – [More documentation] groimp | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== CLI ===== | ||
| + | |||
| + | GroIMP can be started without its graphical interface, with a CLI. Unlike the Headless mode, the CLI enables interaction with multiple the models during run time including opening and closing models, running simulations, | ||
| + | |||
| + | |||
| + | < | ||
| + | !pragma teoz true | ||
| + | hide footbox | ||
| + | title CLI | ||
| + | participant User | ||
| + | participant " | ||
| + | participant GroIMP | ||
| + | |||
| + | |||
| + | User -> GroIMP: Start GroIMP | ||
| + | cli< | ||
| + | & User <-> cli | ||
| + | |||
| + | @enduml</ | ||
| + | |||
| + | ===== Installation & Execution ===== | ||
| + | |||
| + | The CLI can be installed using the GroIMP [[01_user_documentation: | ||
| + | |||
| + | To start the CLI application in a terminal the additional parameter -a cli is needed: | ||
| + | |||
| + | <code bash> | ||
| + | java -Xverify: | ||
| + | </ | ||
| + | |||
| + | The name core.jar can variate based on the way GroIMP was installed. | ||
| + | |||
| + | |||
| + | |||
| + | ===== Structure ===== | ||
| + | |||
| + | ==== Projects ==== | ||
| + | |||
| + | The CLI can be used to manage multiple workbenches. The currently used workbench is defined in the prefix of the command line: | ||
| + | | ||
| + | |||
| + | After starting the CLI the first workbench is always " | ||
| + | |||
| + | ==== Commands ==== | ||
| + | |||
| + | The commands to interact with GroIMP and the proejcts are sorted by level of usage. There is currently three levels: | ||
| + | |||
| + | * application for managing the different projects and for basic interaction with the operation system | ||
| + | * window for managing the panels(the cli version) of the current workbench | ||
| + | * workbench for editing and execution the current project as well general project management | ||
| + | |||
| + | The list can be found below. | ||
| + | |||
| + | |||
| + | |||
| + | ===== More documentation ===== | ||
| + | * [[01_user_documentation: | ||
| + | * [[01_user_documentation: | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Tutorials ===== | ||
| + | * [[02_user_tutorials: | ||
| + | |||
| + | |||
| + | ===== List of Commands ===== | ||
| + | |||
| + | The commands are sorted by level of usage. There is currently three levels: at application, | ||
| + | |||
| + | **Note: the command '' | ||
| + | |||
| + | |||
| + | | **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 | | ||
| + | | < | ||
