refactor folder with clap derive api

This commit is contained in:
Clément DOUIN
2023-12-06 21:46:31 +01:00
parent abe4c7f4ea
commit 4a77253c1d
29 changed files with 446 additions and 114 deletions
+9
View File
@@ -0,0 +1,9 @@
use clap::Parser;
/// The table max width argument parser
#[derive(Debug, Parser)]
pub struct MaxTableWidthFlag {
/// The maximum width the table should not exceed
#[arg(long, short = 'w', value_name = "PIXELS")]
pub max_width: Option<usize>,
}
+1
View File
@@ -0,0 +1 @@
pub mod max_width;
+1
View File
@@ -1,3 +1,4 @@
pub mod arg;
pub mod args;
pub mod table;