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/cli.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/cli.rs')
| -rw-r--r-- | src/bin/ngit/cli.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs index 8cdbee1..8660b60 100644 --- a/src/bin/ngit/cli.rs +++ b/src/bin/ngit/cli.rs | |||
| @@ -397,9 +397,9 @@ pub enum IssueCommands { | |||
| 397 | }, | 397 | }, |
| 398 | /// create a new issue | 398 | /// create a new issue |
| 399 | Create { | 399 | Create { |
| 400 | /// Issue title | 400 | /// Issue subject/title |
| 401 | #[arg(long)] | 401 | #[arg(long, alias = "title")] |
| 402 | title: Option<String>, | 402 | subject: Option<String>, |
| 403 | /// Issue body / description | 403 | /// Issue body / description |
| 404 | #[arg(long)] | 404 | #[arg(long)] |
| 405 | body: Option<String>, | 405 | body: Option<String>, |