[Feature Request] API set online status of custom command connection
It would be nice if i could assign an offline or online status to a custom command connection, so that i can feed xpipe with this information. At the moment the connection gives information that its online when the return code after execution is 0.
I'm not entirely sure what you mean. Can you elaborate on that?
There will always be plenty of services that xpipe will not support, or are to small to make the effort to support and implement it for everyone. At the moment the get go is , to create a command connection object and and use that to open the connection. But in that way im not able to see if the service is currently available. If i have the ability to show an indicator if a system or a service is online then i can see that without having to try to connect first.
So you have something like this
and want to set the displayed status for that from the API?
exactly(i just have an enviromentshell that builds up a tunnel to computer networks in some cases), when i open the app, it detects the return code and shows a little dot like green when it executed without error. It would be nice to have an online/offline indicator that i can set by api to show if a service/target is reachable. At the moment i have commandline objects for for rustdesk, this will eventually in the future be supported.(Rustdesk doesnt show online indicator. I get this information from a Monitoring system. It would be great to have the ability to feed that information into xpipe) But there are plenty of other tools to make a connection to a computer where a function that allows to update a status from api would be great.
The green dot is actually indicating that a shell session is opened in the background (for performance reasons if you run another command on that system shortly afterwards). If you click on it, the session is closed.
I will think about this, that should be possible somehow.