hirotm lists command group lists, shows one list by id, creates, and updates lists (columns) on a board. Global options and output modes: hirotm CLI. lists list needs readBoard on that board; lists show resolves the board from the list id and still requires readBoard on that board; writes need the appropriate flags from CLI access policy.
For board ids and slugs, see Boards. For tasks in those columns, see Tasks. For other hirotm commands, see hirotm CLI.
Access policy
If the CLI is not allowed to read or change something, the command fails with an error message.
lists list
List all lists on a board with full row fields from the API.
Sort: order ascending, then listId ascending (same column order as the board UI). See Default sort order.
| Option | Type | Required | Description |
|---|---|---|---|
--board <id-or-slug> | string | Board id or slug. | |
--limit <n> | integer | Page size (omit for one full response). | |
--offset <n> | integer | Skip this many lists (default 0). | |
--page-all | flag | Merge all pages (--limit or 500 per request). | |
--count-only | flag | Total lists only (Paging); not with --limit, --offset, --page-all, or --fields. | |
--fields <keys> | string | Comma-separated API keys per row. Allowed: listId, boardId, boardSlug, name, order, color, emoji, createdByPrincipal, createdByLabel. See Field projection. |
-q / --quiet (with --format ndjson); default field listId. See Pipe-friendly quiet.
CLI Examples
List all lists on board sprint.
lists show
Print one list by global numeric id (GET /api/lists/:listId). The API resolves the board and applies readBoard for that board—no --board flag.
| Option | Type | Required | Description |
|---|---|---|---|
<list-id> | integer | Global list id. | |
--fields <keys> | string | Same allowlist as lists list. |
lists add
Create a list on a board. New lists are appended at the end unless you reorder with lists move.
| Option | Type | Required | Description |
|---|---|---|---|
--board <id-or-slug> | string | Board id or slug. | |
[name] | string | List name; omit to use the server default. | |
--emoji <text> | string | Optional emoji shown before the list name. |
Add a list "Paris Trip" to board bucket-lists.
lists update
Patch fields on a list. The CLI resolves the board from the list id, so there is no --board flag. At least one of --name, --color, --clear-color, --emoji, or --clear-emoji must be present.
| Option | Type | Required | Description |
|---|---|---|---|
<list-id> | integer | Numeric list id (from hirotm boards describe or task/board APIs). | |
--name <text> | string | New list name. | |
--color <css> | string | List color as CSS (for example a hex value). | |
--clear-color | flag | Remove the list color. | |
--emoji <text> | string | Emoji before the list name. | |
--clear-emoji | flag | Remove the list emoji. |
Rename list 12 to "QA".
lists move
Change list order on a board. The CLI resolves the board from the list id. Use exactly one of --before, --after, --first, or --last (the CLI rejects multiple placement flags).
| Option | Type | Required | Description |
|---|---|---|---|
<list-id> | integer | Numeric list id of the list to move. | |
--before <list-id> | integer | Place before another list. | |
--after <list-id> | integer | Place after another list. | |
--first | flag | Move to the first position. | |
--last | flag | Move to the last position. |
Move list 5 to the first column.
lists delete
Move a list to Trash. The CLI resolves the board from the list id for permission checks, confirmation text, and dry-run previews. Restore or purge with lists restore / lists purge using the same numeric list id (see hirotm trash list lists for context).
| Option | Type | Required | Description |
|---|---|---|---|
<list-id> | integer | Numeric list id. | |
--dry-run | flag | Preview only; do not move to Trash. See Dry-run preview. | |
-y, --yes | flag | Skip the confirmation prompt. |
Move list 12 to Trash (non-interactive).
lists restore
Restore a list from Trash. The board must still be active (not in Trash).
| Option | Type | Required | Description |
|---|---|---|---|
<list-id> | integer | Numeric list id (see hirotm trash list lists). | |
-y, --yes | flag | Skip the confirmation prompt. |
Restore list 12 from Trash (non-interactive).
lists purge
Permanently delete a list that is already in Trash. This cannot be undone.
| Option | Type | Required | Description |
|---|---|---|---|
<list-id> | integer | Numeric list id. | |
--dry-run | flag | Preview only; do not purge. See Dry-run preview. | |
-y, --yes | flag | Skip the confirmation prompt. |
Permanently delete list 12 from Trash (non-interactive).
Learn more
Runhirotm help lists or hirotm help lists <subcommand> for the exact help text shipped with your CLI version.