Since RhapsodyCL is designed for tasks such as code generation, it does not support options relating to diagrams, for example, populating a diagram from the command line. It also does not support the commands relating to configuration management and running macros.
You can send the RhapsodyCL application commands using any of these four methods:
In interactive mode, RhapsodyCL, switches to a “shell mode” using a prompt to enter commands. You can use either of the following techniques to employ the interactive mode:
For every command the user enters in interactive mode, RhapsodyCL performs the following actions:
In socket mode, RhapsodyCL listens on a socket port (supplied by the user), and any commands that arrive on that socket are executed immediately. RhapsodyCL stops only when it receives an exit command.
To start RationalCL in socket mode, enter this command:
RhapsodyCL.exe -socket <Socket_Port>In this command, <Socket_Port> should be replaced with the number of the port which RhapsodyCL listens to for commands.