particle-os-cli/process/drivers/opts.rs
2025-05-31 13:15:40 -04:00

31 lines
553 B
Rust

use clap::ValueEnum;
pub use build::*;
pub use ci::*;
pub use inspect::*;
pub use rechunk::*;
pub use run::*;
pub use signing::*;
mod build;
mod ci;
mod inspect;
mod rechunk;
mod run;
mod signing;
#[derive(Debug, Copy, Clone, Default, ValueEnum)]
pub enum CompressionType {
#[default]
Gzip,
Zstd,
}
impl std::fmt::Display for CompressionType {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.write_str(match self {
Self::Zstd => "zstd",
Self::Gzip => "gzip",
})
}
}