upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/sub_commands/mod.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-03-04 14:28:38 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-03-04 14:50:01 +0000
commitb3b1a949463d8e18622519866ecee3f1b65cc888 (patch)
tree9c728adb75fb18cb84e8d13efbbbd5e90231ec2f /src/bin/ngit/sub_commands/mod.rs
parent6d9b0cc8fff65447849d0d55db177dcdff315c48 (diff)
restructure CLI around ngit pr/issue subcommand groups
Introduce ngit pr subcommand group (list, view, checkout, apply, send, close, reopen, ready, comment, merge) replacing the former top-level ngit list/checkout/apply commands. ngit send is kept at the top level. Expand ngit issue with view, create, close, reopen, comment subcommands. Status changes (close/reopen/ready) are gated to the PR/issue author or a repository maintainer. ngit pr merge is maintainer-only and publishes a GitStatusApplied event immediately after the git merge.
Diffstat (limited to 'src/bin/ngit/sub_commands/mod.rs')
-rw-r--r--src/bin/ngit/sub_commands/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/ngit/sub_commands/mod.rs b/src/bin/ngit/sub_commands/mod.rs
index d864391..60dc413 100644
--- a/src/bin/ngit/sub_commands/mod.rs
+++ b/src/bin/ngit/sub_commands/mod.rs
@@ -1,12 +1,17 @@
1pub mod apply; 1pub mod apply;
2pub mod checkout; 2pub mod checkout;
3pub mod comment;
3pub mod create; 4pub mod create;
4pub mod export_keys; 5pub mod export_keys;
5pub mod init; 6pub mod init;
7pub mod issue_create;
6pub mod issue_list; 8pub mod issue_list;
9pub mod issue_status;
7pub mod list; 10pub mod list;
8pub mod login; 11pub mod login;
9pub mod logout; 12pub mod logout;
13pub mod pr_merge;
14pub mod pr_status;
10pub mod repo; 15pub mod repo;
11pub mod send; 16pub mod send;
12pub mod sync; 17pub mod sync;