Add dir arg to crash_logs tool

This commit is contained in:
Jackson Coxson
2025-07-25 18:33:42 -06:00
parent 5531392cf3
commit 10cb67f437

View File

@@ -37,7 +37,11 @@ async fn main() {
.help("Show about information") .help("Show about information")
.action(clap::ArgAction::SetTrue), .action(clap::ArgAction::SetTrue),
) )
.subcommand(Command::new("list").about("Lists the items in the directory")) .subcommand(
Command::new("list")
.about("Lists the items in the directory")
.arg(Arg::new("dir").required(false).index(1)),
)
.subcommand(Command::new("flush").about("Flushes reports to the directory")) .subcommand(Command::new("flush").about("Flushes reports to the directory"))
.subcommand( .subcommand(
Command::new("pull") Command::new("pull")