rebox/coreutils/src/commands/false.rs
User0 0cd7b3af12
feat: do error handling with anyhow, slight refactor (#6)
Co-authored-by: user0-07161 <user0thenyancat@proton.me>
2025-09-14 20:42:10 +03:00

11 lines
185 B
Rust

use anyhow::Result;
use boxutils::commands::Command;
use std::process::exit;
pub struct False;
impl Command for False {
fn execute(&self) -> Result<()> {
exit(1);
}
}