krata/hypha/bin/agent.rs

10 lines
203 B
Rust
Raw Normal View History

2024-01-17 16:18:12 +00:00
use hypha::agent::Agent;
use hypha::error::Result;
fn main() -> Result<()> {
let mut agent = Agent::new()?;
let domid = agent.launch()?;
println!("launched domain: {}", domid);
Ok(())
}