Oko/Docs

Command reference

oko roadmap remove

Deletes one roadmap item, the inverse of roadmap push.

Invocation#

Command
oko roadmap remove --product P (--slug S | --title T) --yes

Inputs and options#

  • --product and either --slug or --title name the item exactly as push named it: external_id roadmap:<product>:<slug>, the slug derived from the title when --slug is not given.
  • --yes confirms the delete. The row and its contract cannot be recovered afterwards.

Output and state effect#

  • Reads the item from the signed-in member's organization and, with --yes, deletes that work_items row; prints removed true and the external id as JSON. An item that does not exist prints removed false and nothing is written, so a rerun is harmless.

Refusals and safe exits#

  • Missing --product, or neither --slug nor --title, is refused before anything is read.
  • Without --yes it refuses after the read, naming the item's id and title, and deletes nothing.
  • Without a Wisent session, or when the database refuses the read or the delete, it exits unsuccessfully with the database's own answer.

CLI reference#