diff options
Diffstat (limited to 'src/bin/ngit/main.rs')
| -rw-r--r-- | src/bin/ngit/main.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/bin/ngit/main.rs b/src/bin/ngit/main.rs index a0cb3e6..3686011 100644 --- a/src/bin/ngit/main.rs +++ b/src/bin/ngit/main.rs | |||
| @@ -102,17 +102,17 @@ async fn main() { | |||
| 102 | PrCommands::Send(sub_args) => { | 102 | PrCommands::Send(sub_args) => { |
| 103 | sub_commands::send::launch(&cli, sub_args, false).await | 103 | sub_commands::send::launch(&cli, sub_args, false).await |
| 104 | } | 104 | } |
| 105 | PrCommands::Close { id, offline } => { | 105 | PrCommands::Close { id, reason, offline } => { |
| 106 | sub_commands::pr_status::launch_close(id, *offline).await | 106 | sub_commands::pr_status::launch_close(id, *offline, reason.as_deref()).await |
| 107 | } | 107 | } |
| 108 | PrCommands::Reopen { id, offline } => { | 108 | PrCommands::Reopen { id, reason, offline } => { |
| 109 | sub_commands::pr_status::launch_reopen(id, *offline).await | 109 | sub_commands::pr_status::launch_reopen(id, *offline, reason.as_deref()).await |
| 110 | } | 110 | } |
| 111 | PrCommands::Ready { id, offline } => { | 111 | PrCommands::Ready { id, reason, offline } => { |
| 112 | sub_commands::pr_status::launch_ready(id, *offline).await | 112 | sub_commands::pr_status::launch_ready(id, *offline, reason.as_deref()).await |
| 113 | } | 113 | } |
| 114 | PrCommands::Draft { id, offline } => { | 114 | PrCommands::Draft { id, reason, offline } => { |
| 115 | sub_commands::pr_status::launch_draft(id, *offline).await | 115 | sub_commands::pr_status::launch_draft(id, *offline, reason.as_deref()).await |
| 116 | } | 116 | } |
| 117 | PrCommands::Comment { | 117 | PrCommands::Comment { |
| 118 | id, | 118 | id, |
| @@ -188,8 +188,8 @@ async fn main() { | |||
| 188 | sub_commands::issue_status::launch_resolved(id, *offline, reason.as_deref()) | 188 | sub_commands::issue_status::launch_resolved(id, *offline, reason.as_deref()) |
| 189 | .await | 189 | .await |
| 190 | } | 190 | } |
| 191 | IssueCommands::Reopen { id, offline } => { | 191 | IssueCommands::Reopen { id, reason, offline } => { |
| 192 | sub_commands::issue_status::launch_reopen(id, *offline).await | 192 | sub_commands::issue_status::launch_reopen(id, *offline, reason.as_deref()).await |
| 193 | } | 193 | } |
| 194 | IssueCommands::Comment { | 194 | IssueCommands::Comment { |
| 195 | id, | 195 | id, |