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:47:43 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-12 09:47:43 +0000
commit8293af72744bc89beac57a194602938536b429db (patch)
tree1a2d37ca6a97c1e7bb5c2fb022e2cef8da1b13e9 /src/bin/ngit/main.rs
parent7d63ae9530c807e12aefcab48d5a4e2576905905 (diff)
feat: add ngit checkout command for non-interactive proposal checkout
Adds a new 'ngit checkout <event-id|nevent>' command that creates or updates a proposal branch and checks it out. Supports both PRs and patches with parent-commit references. Phase 1 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 b6b51d0..2c9e10f 100644
--- a/src/bin/ngit/main.rs
+++ b/src/bin/ngit/main.rs
@@ -53,6 +53,7 @@ async fn main() {
53 } 53 }
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 } 57 }
57 } else { 58 } else {
58 // Handle the case where no command is provided 59 // Handle the case where no command is provided