From b3b1a949463d8e18622519866ecee3f1b65cc888 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 4 Mar 2026 14:28:38 +0000 Subject: 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. --- src/bin/ngit/sub_commands/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (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 d864391..60dc413 100644 --- a/src/bin/ngit/sub_commands/mod.rs +++ b/src/bin/ngit/sub_commands/mod.rs @@ -1,12 +1,17 @@ pub mod apply; pub mod checkout; +pub mod comment; pub mod create; pub mod export_keys; pub mod init; +pub mod issue_create; pub mod issue_list; +pub mod issue_status; pub mod list; pub mod login; pub mod logout; +pub mod pr_merge; +pub mod pr_status; pub mod repo; pub mod send; pub mod sync; -- cgit v1.2.3