aboutsummaryrefslogtreecommitdiff
path: root/dhwt-codec/src/lib.rs
blob: 69d6b4c65eea4e384ab9833f9cdc4ac5d0f15cac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use clap::Parser;

pub mod io;
pub mod transform;
pub mod trim;
pub mod view;

#[derive(Parser)]
#[clap(about)]
pub struct CommonArgs {
    #[arg(short)]
    pub x: usize,
    #[arg(short)]
    pub y: usize,
    #[arg(short)]
    pub z: usize,

    #[arg(short, long, default_value = "3")]
    pub channels: usize,

    pub infile: String,
    pub outfile: String,
}