Expand description
Rust client SDK for invoking commands on Alien deployments.
Mirrors the TypeScript @alienplatform/sdk/commands — a high-level client
for creating, polling, and decoding command results.
§Example
use alien_commands_client::{CommandsClient, CommandsClientConfig};
let client = CommandsClient::new("http://localhost:9090/v1", "dep_123", "token");
let result: serde_json::Value = client.invoke("generate-report", serde_json::json!({
"startDate": "2025-01-01",
})).await?;Structs§
- Commands
Client - High-level client for invoking commands on Alien deployments.
- Commands
Client Config - Configuration for the commands client.
- Invoke
Options - Options for a single invoke call.
Enums§
- Command
Error - Errors that can occur when invoking commands.