client/core/rs/README.md
A system to build and deploy software across many servers. https://komo.do
Docs: https://docs.rs/komodo_client/latest/komodo_client.
This is a client library for the Komodo Core API. It contains:
The client includes a convenenience method to parse the Komodo API url and credentials from the environment:
KOMODO_ADDRESSKOMODO_API_KEYKOMODO_API_SECRETdotenvy::dotenv().ok();
let client = KomodoClient::new_from_env()?;
// Get all the deployments
let deployments = client.read(ListDeployments::default()).await?;
println!("{deployments:#?}");
let update = client.execute(RunBuild { build: "test-build".to_string() }).await?: