From b143abb25d6ece32412629baa3e75e94d139979f Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 5 Mar 2026 13:14:34 +0000 Subject: 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 --- src/bin/ngit/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bin/ngit/main.rs') 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() { .await } IssueCommands::Create { - title, + subject, body, labels, } => { - sub_commands::issue_create::launch(title.clone(), body.clone(), labels.clone()) + sub_commands::issue_create::launch(subject.clone(), body.clone(), labels.clone()) .await } IssueCommands::Close { id, reason, offline } => { -- cgit v1.2.3