CLI Feature
This PR adds a CLI Object and options parsing.
The window "show" behavior is changed from "newConnection" to a socket message.
If CLI options are given to the program, the program will not show the window and only execute the commands. If a mcontrolcenter server exists a socket message is then sent to refresh the window data.
This is a POC with the CoolerBoost toggle only. I will implement the rest after a first review.
I can't help but wonder, why not write directly to the sysfs files exposed by msi-ec?
I can't help but wonder, why not write directly to the sysfs files exposed by msi-ec?
Well I could, but I figured it wouldn't be too much effort to expand mcontrolcenter with cli support for less savy people. Although I can't find the motivation to complete it heh ^^' I also wanted to keep my C++ warm at the time I started this, so the timing was right.
I can't find the motivation to complete it heh
can't blame you for that, hopefully with msi-wmi-platform module things would become less complicated (also for scripting)