caesura 0.31.0

An all-in-one command line tool to transcode FLAC audio files and upload to gazelle based indexers/trackers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::prelude::*;

/// Path argument for the inspect command.
#[derive(Options, Clone, Debug, Deserialize, Serialize)]
pub struct InspectArg {
    /// Path to directory containing audio files.
    #[arg(value_name = "PATH")]
    pub inspect_path: PathBuf,
}

impl OptionsContract for InspectArg {
    type Partial = InspectArgPartial;

    fn validate(&self, validator: &mut OptionsValidator) {
        validator.check_dir_exists("inspect_path", &self.inspect_path);
    }
}