1
0
Fork 0
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:
Samuel Štancl 2023-11-22 22:29:41 +01:00
parent b3ce6ff9c2
commit 1a2c812c3f

View file

@ -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,
} }