You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some testing purposes, it might be useful to have an interactive CLI, where you can send commands, see reponses, acticate alarms, etc.
Being interactive, it would be a bit similar to the RSMP simulator (which is a GUI application for Windows). In that sense you could argue that it would not add that much new value. However, doing it on the command-line does have some use-case, and importantly, it would work on Mac and Linux.
% rmsp site --type tlc --config config/my_tlc.yaml -i
Starting site RN+SI0001.
> help
Commands:
supervisors # show supervisors
alarm # trigger alarms
dl # work with detector logics
sg # work with signal groups
> supervisors
127.0.0.1 connected
> dl
DL1 0
DL2 0
> dl set DL1 1
OK
Honestly, would be quite a lot to design and implement.
Note that a "power user" mode of this is already avaiable: You can start an interctive Ruby session with the ìrb`command, then use the classes provided by the rsmp gem to interact with sites, supervisors, components, etc. But it requires that you know how to use the Ruby language.
For some testing purposes, it might be useful to have an interactive CLI, where you can send commands, see reponses, acticate alarms, etc.
Being interactive, it would be a bit similar to the RSMP simulator (which is a GUI application for Windows). In that sense you could argue that it would not add that much new value. However, doing it on the command-line does have some use-case, and importantly, it would work on Mac and Linux.
Based on disussion in #42.
The text was updated successfully, but these errors were encountered: