From bc6be27ae6d1d2befe0027c19aba3f6cd2d22535 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 12 Feb 2026 09:58:19 +0000 Subject: feat: add ngit apply command for non-interactive patch application Adds a new 'ngit apply ' command that applies proposal patches to the current branch. Supports --stdout flag to output patches for piping to git am. Phase 2 of non-interactive ngit list implementation. --- src/bin/ngit/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bin/ngit/main.rs') diff --git a/src/bin/ngit/main.rs b/src/bin/ngit/main.rs index 2c9e10f..ab57f89 100644 --- a/src/bin/ngit/main.rs +++ b/src/bin/ngit/main.rs @@ -54,6 +54,7 @@ async fn main() { Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await, Commands::Sync(args) => sub_commands::sync::launch(args).await, Commands::Checkout { id } => sub_commands::checkout::launch(id).await, + Commands::Apply { id, stdout } => sub_commands::apply::launch(id, *stdout).await, } } else { // Handle the case where no command is provided -- cgit v1.2.3