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

@ -403,8 +403,9 @@ 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
------------------
@ -412,8 +413,10 @@ 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.
@ -588,7 +591,8 @@ Creating an issue (MUST be on ``develop``)::
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``)::