1 2 3 4 5 6 7 8 9 10 11
//! `termpulse fail` command. use crate::cli::FailOpts; use anyhow::Result; use termpulse::Controller; pub fn run(opts: FailOpts, _json: bool) -> Result<()> { let mut ctrl = Controller::auto(); ctrl.fail(&opts.label); Ok(()) }