Skip to main content

trello-cli

LLM-friendly command-line interface for Trello.

All commands write JSON to stdout. Errors are written to stderr and exit with code 1.

Install from PyPI

The PyPI distribution is named trello-board-cli because the trello-cli distribution name is already taken. The installed command remains trello-cli:

pipx install trello-board-cli

Install for local development

cd ~/Workspace/trello-cli
python3 -m venv .venv
. .venv/bin/activate
pip install -e ".[dev]"

This installs a trello-cli executable into the active environment. To deploy it onto your normal $PATH, install it with the Python used by that path, or use pipx:

pipx install -e ~/Workspace/trello-cli

Credentials

Credential loading priority:

  1. TRELLO_API_KEY and TRELLO_TOKEN
  2. ~/.config/trello-cli/config.toml

Run:

trello-cli auth

Commands

trello-cli list-boards
trello-cli whoami
trello-cli list-lists --board-id <id>
trello-cli list-cards --list-id <id>
trello-cli get-card --card-id <id>
trello-cli get-card --card-id <id> --format markdown
trello-cli get-card --short-id 413
trello-cli get-card --short-id 413 --card-filter all
trello-cli create-card --list-id <id> --name "Task title" --desc "Details"
trello-cli create-card --list-id <id> --name "Task title" --text-file notes.md
trello-cli update-card --card-id <id> --name "New title"
trello-cli update-card --card-id <id> --due 2025-12-31T09:00:00.000Z
trello-cli update-card --card-id <id> --closed
trello-cli add-comment --card-id <id> --text "Comment text"
trello-cli add-comment --card-id <id> --text-file comment.md
trello-cli add-comment --short-id 413 --text "Comment text"
trello-cli add-comment --short-id 413 --card-filter all --text "Comment text"
trello-cli list-comments --card-id <id>
trello-cli create-checklist --card-id <id> --name "Checklist"
trello-cli create-checklist --card-id <id> --name "Todos" --items-file /path/to/items.md
trello-cli get-checklist --checklist-id <id>
trello-cli update-checklist --checklist-id <id> --name "Updated checklist"
trello-cli delete-checklist --checklist-id <id>
trello-cli add-checkitem --checklist-id <id> --name "Item text" --checked
trello-cli get-checkitem --card-id <id> --checkitem-id <id>
trello-cli update-checkitem --card-id <id> --checkitem-id <id> --state complete
trello-cli delete-checkitem --card-id <id> --checkitem-id <id>
trello-cli list-checklists --card-id <id>

Card descriptions and comments accept Markdown. Literal \\n, \\r\\n, and \\r sequences supplied by LLMs are normalized to real line breaks before the request is sent. Use --text-file (or - for stdin) when passing multi-line Markdown directly.

Agent skill

This repository includes SKILL.md, an agent-oriented guide for using and maintaining trello-cli. Codex can install it as a skill; other agents can read the same file as project-specific operating instructions.

Metadata

Release files for trello-board-cli 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trello-board-cli 0.2.0
File Size Uploaded Provenance Actions
trello_board_cli-0.2.0.tar.gz 14.8 kB With provenance Details for trello_board_cli-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trello-board-cli 0.2.0
File Interpreter ABI Platform Actions
trello_board_cli-0.2.0-py3-none-any.whl Python 3 none any Details for trello_board_cli-0.2.0-py3-none-any.whl

Total release size: 26.2 kB

Release files / trello_board_cli-0.2.0.tar.gz

Download URL trello_board_cli-0.2.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9e925f18f64fcaeb6e924b2c3f30719e4cedec4c23105599fc382a871383e5d7
BLAKE2b-256 checksum
How to use checksums
c788c318a7fbf72d3403daece5ba520d8ebf4c2057f77da0bdeed85f4a2896fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / trello_board_cli-0.2.0-py3-none-any.whl

Download URL trello_board_cli-0.2.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b5e4c1f83229914c6e2c5949165b8abb7d29cda04c935fd749a9c1059ee2ac8
BLAKE2b-256 checksum
How to use checksums
bad8aa24259cc9aff268e8df7c63869bc05a158c923f3379c562e2def07bdcf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for trello-board-cli 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for trello_board_cli-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page