upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/main.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-12 09:58:19 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-12 09:58:19 +0000
commitbc6be27ae6d1d2befe0027c19aba3f6cd2d22535 (patch)
treeff77150dff308f48b680787c57482634a1c3561d /src/bin/ngit/main.rs
parent8293af72744bc89beac57a194602938536b429db (diff)
feat: add ngit apply command for non-interactive patch application
Adds a new 'ngit apply <event-id>' 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.
Diffstat (limited to 'src/bin/ngit/main.rs')
-rw-r--r--src/bin/ngit/main.rs1
1 files changed, 1 insertions, 0 deletions
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() {
54 Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await, 54 Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await,
55 Commands::Sync(args) => sub_commands::sync::launch(args).await, 55 Commands::Sync(args) => sub_commands::sync::launch(args).await,
56 Commands::Checkout { id } => sub_commands::checkout::launch(id).await, 56 Commands::Checkout { id } => sub_commands::checkout::launch(id).await,
57 Commands::Apply { id, stdout } => sub_commands::apply::launch(id, *stdout).await,
57 } 58 }
58 } else { 59 } else {
59 // Handle the case where no command is provided 60 // Handle the case where no command is provided