cyto_cli/view.rs
1use clap::Parser;
2
3use super::{Geometry, PairedInput};
4
5#[derive(Parser, Debug)]
6pub struct ArgsView {
7 #[clap(flatten)]
8 pub input: PairedInput,
9
10 #[clap(flatten)]
11 pub geometry: Geometry,
12
13 #[clap(flatten)]
14 pub options: OptionsView,
15}
16
17#[derive(Parser, Debug)]
18pub struct OptionsView {
19 /// Number of threads to use
20 #[clap(short = 'T', long, default_value = "1")]
21 pub threads: usize,
22
23 #[clap(short, long, help = "Output file [default=stdout]")]
24 pub output: Option<String>,
25}