From 6ae7ce6a5751ccc338a74e207c000d748b7a9a19 Mon Sep 17 00:00:00 2001 From: Triston Armstrong Date: Sun, 12 Jan 2025 13:00:18 -0500 Subject: [PATCH] "feat(arg_parser): Add interactive mode and help message" --- src/arg_parser.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/arg_parser.rs b/src/arg_parser.rs index 3a15f3a..8129c6b 100644 --- a/src/arg_parser.rs +++ b/src/arg_parser.rs @@ -13,6 +13,7 @@ impl ArgParser { let arg = args().nth(1); if arg.is_none() { // <-- interactive mode will go here + println!("...(future) interactive mode not implimented... exiting"); return None; } let arg = arg.unwrap(); @@ -20,13 +21,10 @@ impl ArgParser { "-c" => Some(ParsedArg::Commit), "-p" => Some(ParsedArg::PullRequest), "-h" => { - println!("help stuff here"); - None - } - _ => { println!("Available Commands: -c [commit] -p [pull request] -h [help]"); None } + _ => None, } } }