Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rust): Redesigned agama logs command to have functionality in th…
…e backend and accessible via HTTP API (#1720) ## Problem Agama's CLI logs command used to be implemented with idea CLI running on same machine as real installation (the backend). As this is not true anymore and we have installer's backend and frontend separated with HTTP API, which makes remote access possible, the logs command had to be updated to support this idea. [Its trello card](https://trello.com/c/3A7vCwfS/3867-agama-cli-move-collecting-logs-into-backend-design-http-api-and-put-it-to-use-in-the-cli) ## Solution - the particular code which is in control of collecting logs was moved into agama-lib - agama's web server has contains http(s)://<server_ip>/api/logs piece in its public API - agama's CLI uses the above API for downloading the logs ## Testing - *Tested manually*
- Loading branch information