mirror of
https://github.com/archtechx/todo-system.git
synced 2025-12-12 09:04:03 +00:00
fix Args docblocks
This commit is contained in:
parent
b3ce6ff9c2
commit
1a2c812c3f
1 changed files with 4 additions and 3 deletions
|
|
@ -17,21 +17,22 @@ struct Args {
|
||||||
#[arg(short, long, default_value = "README.md")]
|
#[arg(short, long, default_value = "README.md")]
|
||||||
readme: String,
|
readme: String,
|
||||||
|
|
||||||
// Path to your todo.md file
|
/// Path to your todo.md file
|
||||||
#[arg(short, long, default_value = "todo.md")]
|
#[arg(short, long, default_value = "todo.md")]
|
||||||
todos: String,
|
todos: String,
|
||||||
|
|
||||||
// Paths to search
|
/// Paths to search
|
||||||
#[arg(default_values_t = Vec::from([".".to_string()]))]
|
#[arg(default_values_t = Vec::from([".".to_string()]))]
|
||||||
paths: Vec<String>,
|
paths: Vec<String>,
|
||||||
|
|
||||||
// Paths to exclude
|
/// Paths to exclude
|
||||||
#[arg(short, long, default_values_t = Vec::from([
|
#[arg(short, long, default_values_t = Vec::from([
|
||||||
"node_modules".to_string(),
|
"node_modules".to_string(),
|
||||||
"vendor".to_string(),
|
"vendor".to_string(),
|
||||||
]))]
|
]))]
|
||||||
exclude: Vec<String>,
|
exclude: Vec<String>,
|
||||||
|
|
||||||
|
/// Show stats after listing TODOs
|
||||||
#[arg(short, long, default_value_t = false)]
|
#[arg(short, long, default_value_t = false)]
|
||||||
verbose: bool,
|
verbose: bool,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue