Hello, everyone!
I’m a bit confused - there is an CLI, but for some reason it is only for managing HA itself, not the content.
I’m pretty bad at text parsing, developing etc, but I can write some simple scripts. In cases like that, using API is kinda overkill and complicates the process.
Could you please implement a little bit more functionality for scripts and automation to the CLI?
Thanks!
EDIT: The thing was already out there! Thanks @123!
Because it is a common practice to bridge requests to the API via CLI (at least, using it as a gateway is good idea, so I wouldn’t need to address the API server all the time). And it is way more convinient to use it with scripts, than invoking API and parsing the answer.
API - is for developers, CLI - for scripting.
And bridging the requests via CLI makes the system safer and more stable (as a result of decoupling)