args-cli 0.1.1

Command-line interface for args
Documentation
1
2
3
4
5
6
7
8
use crate::os::{Service, ServiceManager};

pub async fn stop() -> anyhow::Result<()> {
    let manager = ServiceManager::new()?;
    manager.stop()?;
    println!("Runner service stopped.");
    Ok(())
}