mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 13:17:55 +08:00
refactor folder with clap derive api
This commit is contained in:
@@ -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>,
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
pub mod max_width;
|
||||
@@ -1,3 +1,4 @@
|
||||
pub mod arg;
|
||||
pub mod args;
|
||||
pub mod table;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user