From 6e9245542f070c39a1975f0d53d88913c4ac667d Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Sun, 1 Oct 2023 00:00:00 +0100 Subject: feat(prs-create) find commits and create events - identify commits - create pull request event - create patch events --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index e6eac32..5094c11 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,6 +6,7 @@ use clap::{Parser, Subcommand}; mod cli_interactor; mod config; +mod git; mod key_handling; mod login; mod sub_commands; @@ -28,11 +29,14 @@ pub struct Cli { enum Commands { /// save encrypted nsec for future use Login(sub_commands::login::SubCommandArgs), + /// create and issue Prs + Prs(sub_commands::prs::SubCommandArgs), } fn main() -> Result<()> { let cli = Cli::parse(); match &cli.command { Commands::Login(args) => sub_commands::login::launch(&cli, args), + Commands::Prs(args) => sub_commands::prs::launch(&cli, args), } } -- cgit v1.2.3