1 2 3 4 5 6 7 8 9
use std::path::Path; use anyhow::Result; use crate::daemon::protocol::Op; pub async fn run(data_dir: &Path) -> Result<()> { super::daemon_client(data_dir)?.run(Op::NodeId).await }