use clap::Parser;
#[derive(Debug, Parser, Clone, PartialEq, Eq)]
pub enum RootFSCommand {
Create(CreateCommandParam),
Delete,
DeleteSysroot,
Mount,
Umount,
#[clap(name = "show-mountpoint")]
ShowMountPoint,
ShowLoopDevice,
CheckDiskImageExists,
}
#[derive(Debug, Parser, Clone, PartialEq, Eq)]
pub struct CreateCommandParam {
#[clap(long = "skip-if-exists", default_value = "false")]
pub skip_if_exists: bool,
}