ScenarioManager CLI: add a print only option
currently i have a problem when executing my scenario:
starting the executable through the manager, an internal call to system fails, starting it through the command from the terminal, everything works.
hence i need a way to get the terminal command to start the scenario manually.
currently i use ps aux|grep SCENARIO_NAME
to get the terminal commands and copy/paste them into the terminal.
this is awkward, so i would like a print option (e.g. -p
) to only print the commands instead of executing them.
then i could use eval "´armarx start scenario -p SCENARIO_NAME´"
to start my scenario.
this feature should be easy to implement (just passing a flag and using print instead of system).