blackship 0.3.0

A FreeBSD jail manager with state machine control
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! MCP stdio server command
//!
//! Does not load the manifest: the server must start in a directory that has
//! no `blackship.toml` yet, because authoring one is its purpose.

use std::path::Path;

use crate::error::Result;

pub fn handle(config_path: &Path) -> Result<()> {
    let rt = tokio::runtime::Runtime::new()?;

    rt.block_on(crate::mcp::serve(config_path))
}