user-guide:additional_interfaces:cli
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| user-guide:additional_interfaces:cli [2025/01/17 08:49] – created Tim | user-guide:additional_interfaces:cli [2025/01/22 15:48] (current) – [More documentation] Tim | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Command line interface===== | + | ===== 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, | ||
| - | ===== Get started ===== | + | < |
| + | !pragma teoz true | ||
| + | hide footbox | ||
| + | title CLI | ||
| + | participant User | ||
| + | participant " | ||
| + | participant GroIMP | ||
| - | You can start the CLI application in a terminal with | ||
| - | > java -Xverify:none -jar core.jar | + | User -> GroIMP: Start GroIMP |
| + | cli<-> GroIMP | ||
| + | & User <-> cli | ||
| - | Then, to create the default new rgg template project, type '' | + | @enduml</ |
| - | You can now run the model with `run`, reset with '' | + | ===== Installation & Execution ===== |
| - | You can also open your own project with '' | + | The CLI can be installed using the GroIMP [[user-guide: |
| - | **Note: | + | To start the CLI application in a terminal |
| - | ===== Tutorial ===== | + | <code bash> |
| + | java -Xverify: | ||
| + | </ | ||
| - | You can have a look at [[: | + | The name core.jar |
| - | ===== 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. | + | ===== 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 ===== | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Tutorials ===== | ||
| + | * [[: | ||
| + | |||
| + | |||
| + | ===== List of Commands ===== | ||
| + | |||
| + | The commands are sorted by level of usage. There is currently three levels: at application, | ||
| + | |||
| + | **Note: the command '' | ||
| | **App commands ($)** | | **App commands ($)** | ||
| Line 68: | Line 112: | ||
| | ls | list all files of the Project | | ls | list all files of the Project | ||
| | editFile (file name) | open Nano to edit a file | | | editFile (file name) | open Nano to edit a file | | ||
| + | | < | ||
| + | |||
user-guide/additional_interfaces/cli.1737100165.txt.gz · Last modified: 2025/01/17 08:49 by Tim
