From 3ac5395b47c709c00f0072668dfdceb04f2d4974 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 5 Mar 2026 11:33:10 +0000 Subject: feat(label): add `ngit issue label` and `ngit pr label` commands Publishes a NIP-32 kind-1985 label event referencing the target issue or PR. Only the event author or a repository maintainer may apply labels. Duplicate labels (already present via t-tags or prior kind-1985 events) are silently skipped. The new event is saved to the local cache before broadcasting so subsequent reads reflect the change immediately. CLI: ngit issue label --label [--label ...] ngit pr label --label [--label ...] --- src/bin/ngit/sub_commands/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bin/ngit/sub_commands/mod.rs') diff --git a/src/bin/ngit/sub_commands/mod.rs b/src/bin/ngit/sub_commands/mod.rs index c4d0821..7a3c2b5 100644 --- a/src/bin/ngit/sub_commands/mod.rs +++ b/src/bin/ngit/sub_commands/mod.rs @@ -7,6 +7,7 @@ pub mod init; pub mod issue_create; pub mod issue_list; pub mod issue_status; +pub mod label; pub mod list; pub mod login; pub mod logout; -- cgit v1.2.3