exedev 0.1.0

Official Rust SDK for exe.dev: create VMs, run commands on them, and run every exe.dev command
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! The SDK from synchronous code, with the `blocking` feature.
//!
//! EXE_TOKEN=... cargo run --example blocking --features blocking

use exedev::blocking::BlockOn as _;

fn main() -> exedev::Result<()> {
    let exe = exedev::Client::from_env()?;
    for vm in exe.vms().block_on()? {
        println!("{}\t{}\t{}", vm.name(), vm.status(), vm.tags().join(","));
    }
    Ok(())
}