/trello/.
For API key setup, see Trello Setup.
Config
Filesystem Layout
__ so that
resource-specific commands can reference the correct resource without
extra lookups.
Workspaces
Each workspace directory is named:workspace.jsonis the normalized workspace metadataboards/contains one directory per board
Boards
Each board directory is named:board.jsonis the normalized board metadatamembers/contains one JSON file per board memberlabels/contains one JSON file per board labellists/contains one directory per list
Lists
Each list directory is named:list.json— normalized list metadata with fields such aslist_id,list_name,board_id,closed,poscards/contains one directory per card
Cards
Each card directory is named:card.json— normalized card metadata with command-aligned fields such ascard_id,board_id,list_id,member_ids,label_ids,due,urlcomments.jsonl— normalized comment stream ordered bycreated_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_id and
username so the value can be reused directly in commands like
trello-card-assign.
Labels
Each label file is named:label_id, label_name, color, and board_id.
Cache
UsesIndexCacheStore (same as other resources).
Example
Seeexamples/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.