From 82bf53ac3c18e15b75852a48b2e5b432c75a5c7f Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 7 Dec 2023 09:57:43 +0000 Subject: feat(pull) pull commits for checked out pr branch - find pr event which matches branch name - fetch and apply latest commits --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 805edd7..8c6f0d0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,6 +38,8 @@ enum Commands { Claim(sub_commands::claim::SubCommandArgs), /// create and issue prs Prs(sub_commands::prs::SubCommandArgs), + /// pull latest commits in pr linked to checked out branch + Pull, } #[tokio::main] @@ -51,5 +53,6 @@ async fn main() -> Result<()> { futures::executor::block_on(sub_commands::claim::launch(&cli, args)) } Commands::Prs(args) => futures::executor::block_on(sub_commands::prs::launch(&cli, args)), + Commands::Pull => futures::executor::block_on(sub_commands::pull::launch()), } } -- cgit v1.2.3