diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-04 14:28:38 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-04 14:50:01 +0000 |
| commit | b3b1a949463d8e18622519866ecee3f1b65cc888 (patch) | |
| tree | 9c728adb75fb18cb84e8d13efbbbd5e90231ec2f /src/bin/ngit/sub_commands/mod.rs | |
| parent | 6d9b0cc8fff65447849d0d55db177dcdff315c48 (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.rs | 5 |
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 @@ | |||
| 1 | pub mod apply; | 1 | pub mod apply; |
| 2 | pub mod checkout; | 2 | pub mod checkout; |
| 3 | pub mod comment; | ||
| 3 | pub mod create; | 4 | pub mod create; |
| 4 | pub mod export_keys; | 5 | pub mod export_keys; |
| 5 | pub mod init; | 6 | pub mod init; |
| 7 | pub mod issue_create; | ||
| 6 | pub mod issue_list; | 8 | pub mod issue_list; |
| 9 | pub mod issue_status; | ||
| 7 | pub mod list; | 10 | pub mod list; |
| 8 | pub mod login; | 11 | pub mod login; |
| 9 | pub mod logout; | 12 | pub mod logout; |
| 13 | pub mod pr_merge; | ||
| 14 | pub mod pr_status; | ||
| 10 | pub mod repo; | 15 | pub mod repo; |
| 11 | pub mod send; | 16 | pub mod send; |
| 12 | pub mod sync; | 17 | pub mod sync; |