pitchfork-cli 2.7.0

Daemons with DX
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::Result;
use crate::ipc::client::IpcClient;

/// Gets the status of the pitchfork daemon
#[derive(Debug, clap::Args)]
#[clap()]
pub struct Status {}

impl Status {
    pub async fn run(&self) -> Result<()> {
        IpcClient::connect(false).await?;
        info!("Pitchfork daemon is running");
        Ok(())
    }
}