rustysd icon indicating copy to clipboard operation
rustysd copied to clipboard

create an actual UI for rsdctl

Open KillingSpark opened this issue 5 years ago • 3 comments

Rsdctl just pretty prints the returned json from rustysd. To make this an actually useful tool it needs to be better in presenting the retrieved info/results/errors.

KillingSpark avatar Apr 21 '20 17:04 KillingSpark

reddit user u/mb0x40 suggested iwctl as an example of a UI they like. This wraps a dbus interface to a wireless network manager daemon into an interactive cli. This should be pretty similar to what rsdctl would have to handle in complexity and kind of data .

KillingSpark avatar Apr 22 '20 08:04 KillingSpark

dbus and ui is optional? I like it small and cli first 😁

pwFoo avatar Apr 22 '20 08:04 pwFoo

I will not use dbus for the communication between the two tools. The idea is to have an interactive cli utility to interact with rustysd, using the existing jsonrpc based control interface. I will try to preserve the simple nature of basic commands like 'rsdctl restart docker.service' :)

KillingSpark avatar Apr 22 '20 10:04 KillingSpark