Skip to main content
The Trello resource exposes workspaces, boards, lists, cards, members, and labels as a virtual filesystem mounted at some prefix such as /trello/. For API key setup, see Trello Setup.

Config

Filesystem Layout

Example:
Directory and file names embed the Trello ID after __ so that resource-specific commands can reference the correct resource without extra lookups.

Workspaces

Each workspace directory is named:
Inside the workspace directory:
  • workspace.json is the normalized workspace metadata
  • boards/ contains one directory per board

Boards

Each board directory is named:
Inside the board directory:
  • board.json is the normalized board metadata
  • members/ contains one JSON file per board member
  • labels/ contains one JSON file per board label
  • lists/ contains one directory per list

Lists

Each list directory is named:
Each list directory contains:
  • list.json — normalized list metadata with fields such as list_id, list_name, board_id, closed, pos
  • cards/ contains one directory per card

Cards

Each card directory is named:
Each card directory contains:
  • card.json — normalized card metadata with command-aligned fields such as card_id, board_id, list_id, member_ids, label_ids, due, url
  • comments.jsonl — normalized comment stream ordered by created_at
comments.jsonl is a Mirage representation chosen for shell-friendly workflows. It is not a native Trello file format.

Members

Each member file is named:
Member JSON includes command-aligned identifiers such as member_id and username so the value can be reused directly in commands like trello-card-assign.

Labels

Each label file is named:
Label JSON includes label_id, label_name, color, and board_id.

Cache

Uses IndexCacheStore (same as other resources).

Example

See examples/trello/trello.py for the full working example.

Finding IDs

IDs are embedded in directory and file names after __:

Shell Commands

Standard commands available on the mounted Trello tree:

Resource-Specific Commands

trello-card-create

Create a new card. Description can be passed via --desc, --desc_file, or stdin.

trello-card-update

Update an existing card. Description can be passed via --desc, --desc_file, or stdin.

trello-card-move

Move a card to a different list.

trello-card-assign

Assign a member to a card.

trello-card-comment-add

Add a comment to a card. Text can be passed via --text, --text_file, or stdin.
* One of --text, --text_file, or stdin is required.

trello-card-comment-update

Update an existing comment. Text can be passed via --text, --text_file, or stdin.
* One of --text, --text_file, or stdin is required.

trello-card-label-add

Add a label to a card.

trello-card-label-remove

Remove a label from a card.