shitbox/utilbox/commands/mount/mod.rs

20 lines
380 B
Rust
Raw Normal View History

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