chore: update CLI changes

body is redundant as it is the descritpion of issue
This commit is contained in:
Tiara Rodney 2026-03-15 04:11:01 +01:00
parent 0fbbe84bb3
commit 6f7bd2daf7
No known key found for this signature in database
GPG key ID: 5CD8EC1D46106723
5 changed files with 18 additions and 10 deletions

View file

@ -395,16 +395,19 @@ Where:
* `<ID>` is the issues integer ID.
* `<status>` is the new status value.
* `<body>` is a required description whose content depends on the
transition.
* `<body>` is a description whose content depends on the transition.
The body is required for all transitions except `open`, where it is
optional (see Transition Details).
### Transition Details
**\`\`todo(<ID>): open\`\`** — Issue creation.
* Branch: MUST be on `develop`.
* Body: description of what needs to be done (becomes the issues
`Description` field).
* Body: optional. If provided, it MUST match the issues `Description`
field. Because the description is already recorded in the `TODO` file
itself, the body MAY be omitted to avoid duplication. When omitted, the
commit consists of only the header line.
**\`\`todo(<ID>): in-progress\`\`** — Start work.
@ -573,7 +576,8 @@ todo create --type feature --title "Add login" --plan "Implement OAuth2 flow"
```
This produces a `todo(<ID>): open` commit modifying only the `TODO` file.
The `--plan` text becomes the issues `Description` field.
The `--plan` text becomes the issues `Description` field. The commit
has no body because the description is already recorded in the issue itself.
Starting work (MUST be on `develop`):