A gh-style command line interface for Trello
Project description
trapi-cli
A gh-style command line interface for Trello.
Distribution name
trapi-cli; the installed command istrelloand the importable package istrello_cli.
Install
As a standalone CLI:
uv tool install trapi-cli # from PyPI
uv tool install -e . # from a local checkout (editable)
As a dependency of another project (to reuse the client in code):
uv add trapi-cli
from trello_cli.api import TrelloClient
from trello_cli.config import load_credentials
client = TrelloClient(*load_credentials())
client.get("/members/me")
The importable surface (TrelloClient, load_credentials, match_ref) exists
for the CLI's own use — treat it as unstable until a 1.0 release.
Setup
- Go to https://trello.com/power-ups/admin and create a (private) Power-Up
- Copy the API key
- Click the Token link next to the key to generate a user token
- Copy
.env.exampleto.env(or~/.config/trello-cli/.env) and fill both in
Verify with:
trello auth status
Usage
Boards, lists, and cards can be referenced by id, shortLink, or (partial) name.
trello board list # your boards
trello board view "My Board" # lists + card counts
trello list list -b "My Board"
trello list add "Doing" -b "My Board"
trello card list "My Board" # all cards
trello card list "My Board" -l Doing # one list
trello card view abc123XY --comments
trello card add "Fix the thing" -b "My Board" -l "To Do" -d "details" --due 2026-07-31
trello card edit abc123XY --name "New title" --clear-due
trello card move abc123XY -l Done
trello card archive abc123XY # --undo to restore
trello card comment abc123XY -m "done in #42"
trello search "invoice"
Every command takes a global --json flag for scripting:
trello --json card list "My Board" | jq '.[].name'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trapi_cli-0.1.0.tar.gz.
File metadata
- Download URL: trapi_cli-0.1.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
452154218bbbbb60ce336ae6967b0b87d70d5b4aaa36b91ff46149f52965684e
|
|
| MD5 |
299f0ddbb8e0ffd11a499f5f180dd420
|
|
| BLAKE2b-256 |
113c29656c8a0e03a2cd97860e4a94a84754b8eb724641c9ab693bf44a0f6cde
|
Provenance
The following attestation bundles were made for trapi_cli-0.1.0.tar.gz:
Publisher:
publish.yml on dbolser/trapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trapi_cli-0.1.0.tar.gz -
Subject digest:
452154218bbbbb60ce336ae6967b0b87d70d5b4aaa36b91ff46149f52965684e - Sigstore transparency entry: 2089738622
- Sigstore integration time:
-
Permalink:
dbolser/trapi@a16cd37020fffe987e5817df3c413c3d6b5a4cbf -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/dbolser
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a16cd37020fffe987e5817df3c413c3d6b5a4cbf -
Trigger Event:
release
-
Statement type:
File details
Details for the file trapi_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: trapi_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60ce72d59332a021c634c7bbdd12f437a822fcd9f36427809417b282f7109e93
|
|
| MD5 |
4d098c0bb31310e4d18f2ab1c3f67373
|
|
| BLAKE2b-256 |
9f4f1def20b169aa6ce4f3bbafd07bcc6f023e892e9f2ebab4c83412915bc92f
|
Provenance
The following attestation bundles were made for trapi_cli-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on dbolser/trapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trapi_cli-0.1.0-py3-none-any.whl -
Subject digest:
60ce72d59332a021c634c7bbdd12f437a822fcd9f36427809417b282f7109e93 - Sigstore transparency entry: 2089738990
- Sigstore integration time:
-
Permalink:
dbolser/trapi@a16cd37020fffe987e5817df3c413c3d6b5a4cbf -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/dbolser
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a16cd37020fffe987e5817df3c413c3d6b5a4cbf -
Trigger Event:
release
-
Statement type: