-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove display code from targetclid #169
Comments
I think dbus makes the most sense, since it's already standard in most distributions and used by many core system services. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the daemon is accepting raw command line parameters and returning formatted terminal output. As discussed in several pull requests, this results in several differences in
targetcli
's behavior when it's not using the daemon vs. when it is. The code's complexity is also increasing due to a lack of separation of concerns.I propose changing
targetclid
to export its functionality via some form of IPC/RPC: whenauto_use_daemon
is set toTrue
,targetcli
would receive input, pass requests totargetclid
(which would do the actual work and respond with structured data), and then format and display the response data.This ticket should be used to discuss implementation details such as which form of IPC/RPC to use.
The text was updated successfully, but these errors were encountered: