From 8293af72744bc89beac57a194602938536b429db Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 12 Feb 2026 09:47:43 +0000 Subject: feat: add ngit checkout command for non-interactive proposal checkout Adds a new 'ngit checkout ' 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. --- src/bin/ngit/cli.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/bin/ngit/cli.rs') diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs index 47f4b27..5c1a097 100644 --- a/src/bin/ngit/cli.rs +++ b/src/bin/ngit/cli.rs @@ -106,6 +106,11 @@ pub enum Commands { Send(sub_commands::send::SubCommandArgs), /// list PRs; checkout, apply or download selected List, + /// checkout a proposal branch by event-id or nevent + Checkout { + /// Proposal event-id (hex) or nevent (bech32) + id: String, + }, /// update repo git servers to reflect nostr state (add, update or delete /// remote refs) Sync(sub_commands::sync::SubCommandArgs), -- cgit v1.2.3