mirror of
https://github.com/coralogix/cx-cli.git
synced 2026-09-14 16:15:45 +08:00
678b368b13
### Description Add a new `cx infra` command for the infrastructure domain, following Archetype B (REST-based). The command is structured as a wrapper with a `resources` subgroup. This is because the infrastructure domain will grow beyond the resources functionality. The initial scope (resources) lets users discover available infrastructure resources. For now they will be able to: 1. get available resource types 2. find resources 3. inspect their daily health history 4. fetch the raw resource data. The command will appear in the hierarchy under the **Observe** group as a read-only command (the API is GET-only). For more details check the issue here: https://github.com/coralogix/cx-cli/issues/170. ### Testing There are e2e tests ready to be run manually (they are disabled by default). In order for them to run, setup a `.env` file. Use the provided `.env.example`. You will need to generate your API Key.