Oko/Docs

Command reference

oko defects retitle

Replaces a defect's one-sentence title when the first wording did not say what is wrong.

Invocation#

Command
oko defects retitle <id> --title TEXT [--json]

Inputs and options#

  • The defect id and the new title.

Output and state effect#

  • Rewrites the title and prints `retitled <id>: <title>`.

Refusals and safe exits#

  • `oko defects retitle requires <id>`, `oko defects requires --title <text>` (exit 2); a blank title is refused by name; `no defect with id <id> is registered`.

CLI reference#