feat(pr_handler): Create PR title and description generation rules #1

Merged
tristonarmstrong merged 20 commits from dev into master 2025-01-12 19:06:43 +00:00
Showing only changes of commit 6ae7ce6a57 - Show all commits

View File

@ -13,6 +13,7 @@ impl ArgParser {
let arg = args().nth(1); let arg = args().nth(1);
if arg.is_none() { if arg.is_none() {
// <-- interactive mode will go here // <-- interactive mode will go here
println!("...(future) interactive mode not implimented... exiting");
return None; return None;
} }
let arg = arg.unwrap(); let arg = arg.unwrap();
@ -20,13 +21,10 @@ impl ArgParser {
"-c" => Some(ParsedArg::Commit), "-c" => Some(ParsedArg::Commit),
"-p" => Some(ParsedArg::PullRequest), "-p" => Some(ParsedArg::PullRequest),
"-h" => { "-h" => {
println!("help stuff here");
None
}
_ => {
println!("Available Commands: -c [commit] -p [pull request] -h [help]"); println!("Available Commands: -c [commit] -p [pull request] -h [help]");
None None
} }
_ => None,
} }
} }
} }