diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-05 13:14:34 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-05 13:14:34 +0000 |
| commit | b143abb25d6ece32412629baa3e75e94d139979f (patch) | |
| tree | 4ba6a68bd811e081a529e674b93ece02c7090732 /src/bin/ngit/main.rs | |
| parent | f3fcf863aae000964753f574b00e9fb9f5fcd452 (diff) | |
refactor(subject): standardise on subject over title in CLI and output
- JSON output fields renamed from title to subject in pr list/view
and issue list/view
- Printed view output changed from Title: to Subject:
- ngit issue create --subject (alias --title)
- ngit send --subject (alias --title)
- Error messages and interactive prompts updated to match
Diffstat (limited to 'src/bin/ngit/main.rs')
| -rw-r--r-- | src/bin/ngit/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/ngit/main.rs b/src/bin/ngit/main.rs index 1dbf020..3f5e65c 100644 --- a/src/bin/ngit/main.rs +++ b/src/bin/ngit/main.rs | |||
| @@ -179,11 +179,11 @@ async fn main() { | |||
| 179 | .await | 179 | .await |
| 180 | } | 180 | } |
| 181 | IssueCommands::Create { | 181 | IssueCommands::Create { |
| 182 | title, | 182 | subject, |
| 183 | body, | 183 | body, |
| 184 | labels, | 184 | labels, |
| 185 | } => { | 185 | } => { |
| 186 | sub_commands::issue_create::launch(title.clone(), body.clone(), labels.clone()) | 186 | sub_commands::issue_create::launch(subject.clone(), body.clone(), labels.clone()) |
| 187 | .await | 187 | .await |
| 188 | } | 188 | } |
| 189 | IssueCommands::Close { id, reason, offline } => { | 189 | IssueCommands::Close { id, reason, offline } => { |