chore: update CLI changes
body is redundant as it is the descritpion of issue
This commit is contained in:
parent
0fbbe84bb3
commit
6f7bd2daf7
5 changed files with 18 additions and 10 deletions
14
dist/markdown/README.md
vendored
14
dist/markdown/README.md
vendored
|
|
@ -395,16 +395,19 @@ Where:
|
|||
|
||||
* `<ID>` is the issue’s 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 issue’s
|
||||
`Description` field).
|
||||
* Body: optional. If provided, it MUST match the issue’s `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 issue’s `Description` field.
|
||||
The `--plan` text becomes the issue’s `Description` field. The commit
|
||||
has no body because the description is already recorded in the issue itself.
|
||||
|
||||
Starting work (MUST be on `develop`):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue