crabtalk-command 0.0.20

High-level service command layer for Crabtalk
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Fallback for unsupported platforms.

use anyhow::Result;

pub fn is_installed(_label: &str) -> bool {
    false
}

pub fn install(_rendered: &str, _label: &str) -> Result<()> {
    anyhow::bail!("service install is only supported on macOS, Linux, and Windows")
}

pub fn uninstall(_label: &str) -> Result<()> {
    anyhow::bail!("service uninstall is only supported on macOS, Linux, and Windows")
}