shitbox/utilbox/commands/mount/mod.rs
2023-02-06 18:57:28 -05:00

20 lines
395 B
Rust

use clap::{Arg, ArgAction, ArgMatches, Command};
use shitbox::Cmd;
#[derive(Debug, Default)]
pub struct Mount;
impl Cmd for Mount {
fn cli(&self) -> Command {
Command::new("mount")
}
fn run(&self, matches: &ArgMatches) -> Result<(), Box<dyn std::error::Error>> {
Ok(())
}
fn path(&self) -> Option<shitbox::Path> {
Some(shitbox::Path::Bin)
}
}