trello-board-cli 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,55 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build:
13
+ name: Build distributions
14
+ runs-on: ubuntu-latest
15
+
16
+ steps:
17
+ - name: Check out repository
18
+ uses: actions/checkout@v4
19
+ with:
20
+ fetch-depth: 0
21
+
22
+ - name: Set up Python
23
+ uses: actions/setup-python@v5
24
+ with:
25
+ python-version: "3.11"
26
+
27
+ - name: Install build dependencies
28
+ run: python -m pip install --upgrade build
29
+
30
+ - name: Build package
31
+ run: python -m build
32
+
33
+ - name: Upload distributions
34
+ uses: actions/upload-artifact@v4
35
+ with:
36
+ name: python-package-distributions
37
+ path: dist/
38
+
39
+ publish:
40
+ name: Publish distributions to PyPI
41
+ needs: build
42
+ runs-on: ubuntu-latest
43
+ environment: pypi
44
+ permissions:
45
+ id-token: write
46
+
47
+ steps:
48
+ - name: Download distributions
49
+ uses: actions/download-artifact@v4
50
+ with:
51
+ name: python-package-distributions
52
+ path: dist/
53
+
54
+ - name: Publish package distributions to PyPI
55
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,7 @@
1
+ .venv/
2
+ __pycache__/
3
+ *.py[cod]
4
+ .pytest_cache/
5
+ *.egg-info/
6
+ dist/
7
+ build/
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 tranch
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,117 @@
1
+ Metadata-Version: 2.4
2
+ Name: trello-board-cli
3
+ Version: 0.2.0
4
+ Summary: LLM-friendly command-line interface for Trello.
5
+ Author-email: tranch <tranch.xiao@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/tranch/trello-cli
8
+ Project-URL: Issues, https://github.com/tranch/trello-cli/issues
9
+ Keywords: trello,cli,llm,automation
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Environment :: Console
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Classifier: Programming Language :: Python :: 3.15
19
+ Classifier: Topic :: Utilities
20
+ Requires-Python: >=3.11
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: requests>=2.31
24
+ Requires-Dist: typer>=0.12
25
+ Provides-Extra: dev
26
+ Requires-Dist: pytest>=8; extra == "dev"
27
+ Dynamic: license-file
28
+
29
+ # trello-cli
30
+
31
+ LLM-friendly command-line interface for Trello.
32
+
33
+ All commands write JSON to stdout. Errors are written to stderr and exit with
34
+ code 1.
35
+
36
+ ## Install from PyPI
37
+
38
+ The PyPI distribution is named `trello-board-cli` because the `trello-cli`
39
+ distribution name is already taken. The installed command remains `trello-cli`:
40
+
41
+ ```bash
42
+ pipx install trello-board-cli
43
+ ```
44
+
45
+ ## Install for local development
46
+
47
+ ```bash
48
+ cd ~/Workspace/trello-cli
49
+ python3 -m venv .venv
50
+ . .venv/bin/activate
51
+ pip install -e ".[dev]"
52
+ ```
53
+
54
+ This installs a `trello-cli` executable into the active environment. To deploy
55
+ it onto your normal `$PATH`, install it with the Python used by that path, or
56
+ use `pipx`:
57
+
58
+ ```bash
59
+ pipx install -e ~/Workspace/trello-cli
60
+ ```
61
+
62
+ ## Credentials
63
+
64
+ Credential loading priority:
65
+
66
+ 1. `TRELLO_API_KEY` and `TRELLO_TOKEN`
67
+ 2. `~/.config/trello-cli/config.toml`
68
+
69
+ Run:
70
+
71
+ ```bash
72
+ trello-cli auth
73
+ ```
74
+
75
+ ## Commands
76
+
77
+ ```bash
78
+ trello-cli list-boards
79
+ trello-cli whoami
80
+ trello-cli list-lists --board-id <id>
81
+ trello-cli list-cards --list-id <id>
82
+ trello-cli get-card --card-id <id>
83
+ trello-cli get-card --card-id <id> --format markdown
84
+ trello-cli get-card --short-id 413
85
+ trello-cli get-card --short-id 413 --card-filter all
86
+ trello-cli create-card --list-id <id> --name "Task title" --desc "Details"
87
+ trello-cli create-card --list-id <id> --name "Task title" --text-file notes.md
88
+ trello-cli update-card --card-id <id> --name "New title"
89
+ trello-cli update-card --card-id <id> --due 2025-12-31T09:00:00.000Z
90
+ trello-cli update-card --card-id <id> --closed
91
+ trello-cli add-comment --card-id <id> --text "Comment text"
92
+ trello-cli add-comment --card-id <id> --text-file comment.md
93
+ trello-cli add-comment --short-id 413 --text "Comment text"
94
+ trello-cli add-comment --short-id 413 --card-filter all --text "Comment text"
95
+ trello-cli list-comments --card-id <id>
96
+ trello-cli create-checklist --card-id <id> --name "Checklist"
97
+ trello-cli create-checklist --card-id <id> --name "Todos" --items-file /path/to/items.md
98
+ trello-cli get-checklist --checklist-id <id>
99
+ trello-cli update-checklist --checklist-id <id> --name "Updated checklist"
100
+ trello-cli delete-checklist --checklist-id <id>
101
+ trello-cli add-checkitem --checklist-id <id> --name "Item text" --checked
102
+ trello-cli get-checkitem --card-id <id> --checkitem-id <id>
103
+ trello-cli update-checkitem --card-id <id> --checkitem-id <id> --state complete
104
+ trello-cli delete-checkitem --card-id <id> --checkitem-id <id>
105
+ trello-cli list-checklists --card-id <id>
106
+ ```
107
+
108
+ Card descriptions and comments accept Markdown. Literal `\\n`, `\\r\\n`, and
109
+ `\\r` sequences supplied by LLMs are normalized to real line breaks before the
110
+ request is sent. Use `--text-file` (or `-` for stdin) when passing
111
+ multi-line Markdown directly.
112
+
113
+ ## Agent skill
114
+
115
+ This repository includes `SKILL.md`, an agent-oriented guide for using and
116
+ maintaining `trello-cli`. Codex can install it as a skill; other agents can read
117
+ the same file as project-specific operating instructions.
@@ -0,0 +1,89 @@
1
+ # trello-cli
2
+
3
+ LLM-friendly command-line interface for Trello.
4
+
5
+ All commands write JSON to stdout. Errors are written to stderr and exit with
6
+ code 1.
7
+
8
+ ## Install from PyPI
9
+
10
+ The PyPI distribution is named `trello-board-cli` because the `trello-cli`
11
+ distribution name is already taken. The installed command remains `trello-cli`:
12
+
13
+ ```bash
14
+ pipx install trello-board-cli
15
+ ```
16
+
17
+ ## Install for local development
18
+
19
+ ```bash
20
+ cd ~/Workspace/trello-cli
21
+ python3 -m venv .venv
22
+ . .venv/bin/activate
23
+ pip install -e ".[dev]"
24
+ ```
25
+
26
+ This installs a `trello-cli` executable into the active environment. To deploy
27
+ it onto your normal `$PATH`, install it with the Python used by that path, or
28
+ use `pipx`:
29
+
30
+ ```bash
31
+ pipx install -e ~/Workspace/trello-cli
32
+ ```
33
+
34
+ ## Credentials
35
+
36
+ Credential loading priority:
37
+
38
+ 1. `TRELLO_API_KEY` and `TRELLO_TOKEN`
39
+ 2. `~/.config/trello-cli/config.toml`
40
+
41
+ Run:
42
+
43
+ ```bash
44
+ trello-cli auth
45
+ ```
46
+
47
+ ## Commands
48
+
49
+ ```bash
50
+ trello-cli list-boards
51
+ trello-cli whoami
52
+ trello-cli list-lists --board-id <id>
53
+ trello-cli list-cards --list-id <id>
54
+ trello-cli get-card --card-id <id>
55
+ trello-cli get-card --card-id <id> --format markdown
56
+ trello-cli get-card --short-id 413
57
+ trello-cli get-card --short-id 413 --card-filter all
58
+ trello-cli create-card --list-id <id> --name "Task title" --desc "Details"
59
+ trello-cli create-card --list-id <id> --name "Task title" --text-file notes.md
60
+ trello-cli update-card --card-id <id> --name "New title"
61
+ trello-cli update-card --card-id <id> --due 2025-12-31T09:00:00.000Z
62
+ trello-cli update-card --card-id <id> --closed
63
+ trello-cli add-comment --card-id <id> --text "Comment text"
64
+ trello-cli add-comment --card-id <id> --text-file comment.md
65
+ trello-cli add-comment --short-id 413 --text "Comment text"
66
+ trello-cli add-comment --short-id 413 --card-filter all --text "Comment text"
67
+ trello-cli list-comments --card-id <id>
68
+ trello-cli create-checklist --card-id <id> --name "Checklist"
69
+ trello-cli create-checklist --card-id <id> --name "Todos" --items-file /path/to/items.md
70
+ trello-cli get-checklist --checklist-id <id>
71
+ trello-cli update-checklist --checklist-id <id> --name "Updated checklist"
72
+ trello-cli delete-checklist --checklist-id <id>
73
+ trello-cli add-checkitem --checklist-id <id> --name "Item text" --checked
74
+ trello-cli get-checkitem --card-id <id> --checkitem-id <id>
75
+ trello-cli update-checkitem --card-id <id> --checkitem-id <id> --state complete
76
+ trello-cli delete-checkitem --card-id <id> --checkitem-id <id>
77
+ trello-cli list-checklists --card-id <id>
78
+ ```
79
+
80
+ Card descriptions and comments accept Markdown. Literal `\\n`, `\\r\\n`, and
81
+ `\\r` sequences supplied by LLMs are normalized to real line breaks before the
82
+ request is sent. Use `--text-file` (or `-` for stdin) when passing
83
+ multi-line Markdown directly.
84
+
85
+ ## Agent skill
86
+
87
+ This repository includes `SKILL.md`, an agent-oriented guide for using and
88
+ maintaining `trello-cli`. Codex can install it as a skill; other agents can read
89
+ the same file as project-specific operating instructions.
@@ -0,0 +1,140 @@
1
+ ---
2
+ name: trello-cli
3
+ description: Use this skill when Codex needs to operate Trello from the command line with this LLM-friendly Trello CLI, or when maintaining the trello-cli Python project. It covers authentication, board/list/card/checklist workflows, JSON output expectations, short card IDs, and the local development and test workflow for this repository.
4
+ ---
5
+
6
+ # trello-cli
7
+
8
+ Use `trello-cli` to inspect and update Trello boards from shell workflows. Prefer it when a user asks Codex to create, update, archive, inspect, comment on, or manage Trello cards, lists, boards, checklists, or checklist items.
9
+
10
+ All command output is JSON on stdout. Errors are JSON on stderr and exit with status 1. Parse stdout as JSON instead of scraping human text.
11
+
12
+ ## Setup
13
+
14
+ If the executable is not available, install this repository in a Python 3.11+ environment:
15
+
16
+ ```bash
17
+ python3 -m venv .venv
18
+ . .venv/bin/activate
19
+ pip install -e ".[dev]"
20
+ ```
21
+
22
+ For a user-level install:
23
+
24
+ ```bash
25
+ pipx install -e /path/to/trello-cli
26
+ ```
27
+
28
+ Credentials are loaded in this order:
29
+
30
+ 1. `TRELLO_API_KEY` and `TRELLO_TOKEN`
31
+ 2. `~/.config/trello-cli/config.toml`
32
+
33
+ Run `trello-cli auth` only when interactive browser authentication is acceptable. Never print, commit, or summarize credential values. If automation needs a default board for short IDs or omitted `--board-id`, configure `default_board` during auth or in the config file.
34
+
35
+ ## Common Workflow
36
+
37
+ Discover IDs before mutating Trello:
38
+
39
+ ```bash
40
+ trello-cli list-boards
41
+ trello-cli list-lists --board-id <board-id>
42
+ trello-cli list-cards --list-id <list-id>
43
+ ```
44
+
45
+ Inspect cards:
46
+
47
+ ```bash
48
+ trello-cli get-card --card-id <card-id>
49
+ trello-cli get-card --short-id <board-scoped-number>
50
+ ```
51
+
52
+ Create and update cards:
53
+
54
+ ```bash
55
+ trello-cli create-card --list-id <list-id> --name "Task title" --desc "Markdown details"
56
+ trello-cli update-card --card-id <card-id> --name "New title"
57
+ trello-cli update-card --card-id <card-id> --due 2026-08-01T09:00:00.000Z
58
+ trello-cli update-card --card-id <card-id> --due null
59
+ trello-cli update-card --card-id <card-id> --closed
60
+ trello-cli update-card --card-id <card-id> --open
61
+ ```
62
+
63
+ Comment on cards:
64
+
65
+ ```bash
66
+ trello-cli add-comment --card-id <card-id> --text "Markdown comment"
67
+ trello-cli add-comment --short-id <board-scoped-number> --text "Markdown comment"
68
+ ```
69
+
70
+ Use `--short-id` only when `default_board` is configured. Trello short IDs are board-scoped, not globally unique.
71
+
72
+ ## Card Description and Comment Style
73
+
74
+ Keep card descriptions and comments short and easy to scan. Trello cards are intentionally small and lightweight, so do not use H1-H5 headings for long-form exposition. When structure is needed, prefer concise paragraphs, lists, or bold text instead of heading-heavy formatting.
75
+
76
+ Write in the second person and state the practical purpose directly: give the reader a task to do or record a defect to address. Avoid excessive polishing, formal rhetoric, or unnecessary background. Prefer wording such as “Please update the retry handling” or “You can reproduce this by…” over elaborate narrative prose.
77
+
78
+ ## Checklists
79
+
80
+ Create a checklist directly:
81
+
82
+ ```bash
83
+ trello-cli create-checklist --card-id <card-id> --name "Checklist"
84
+ ```
85
+
86
+ Create a checklist from a Markdown checklist file:
87
+
88
+ ```bash
89
+ trello-cli create-checklist --card-id <card-id> --name "Todos" --items-file /path/to/items.md
90
+ ```
91
+
92
+ Each non-empty line becomes an item. Lines beginning with `- [x]` are marked complete; lines beginning with `- [ ]` are open. The checkbox prefix is stripped from the item name.
93
+
94
+ Manage checklists and items:
95
+
96
+ ```bash
97
+ trello-cli list-checklists --card-id <card-id>
98
+ trello-cli get-checklist --checklist-id <checklist-id>
99
+ trello-cli update-checklist --checklist-id <checklist-id> --name "Updated"
100
+ trello-cli delete-checklist --checklist-id <checklist-id>
101
+ trello-cli add-checkitem --checklist-id <checklist-id> --name "Item text" --checked
102
+ trello-cli get-checkitem --card-id <card-id> --checkitem-id <item-id>
103
+ trello-cli update-checkitem --card-id <card-id> --checkitem-id <item-id> --state complete
104
+ trello-cli update-checkitem --card-id <card-id> --checkitem-id <item-id> --state incomplete
105
+ trello-cli delete-checkitem --card-id <card-id> --checkitem-id <item-id>
106
+ ```
107
+
108
+ Checklist item `--pos`, `--due`, `--due-reminder`, and `--member-id` are advanced Trello features and may depend on the target board's Trello plan.
109
+
110
+ ## Maintaining This Project
111
+
112
+ The CLI entrypoint is `trello_cli.cli:main`.
113
+
114
+ Use these files as the main map:
115
+
116
+ - `src/trello_cli/cli.py`: Typer commands, JSON printing, CLI validation, short-ID resolution.
117
+ - `src/trello_cli/client.py`: Trello REST API wrapper, response formatting, domain errors.
118
+ - `src/trello_cli/config.py`: config file loading/writing and credential path.
119
+ - `tests/`: pytest coverage for config and client behavior.
120
+
121
+ When adding or changing a command:
122
+
123
+ 1. Add or update the Typer command in `src/trello_cli/cli.py`.
124
+ 2. Put Trello API calls and response shaping in `src/trello_cli/client.py`.
125
+ 3. Keep stdout as JSON and errors as JSON on stderr with exit code 1.
126
+ 4. Preserve the stable card shape from `TrelloClient._fmt` unless a change is intentional.
127
+ 5. Add focused tests for client payload mapping, response formatting, validation, and config behavior.
128
+ 6. Update `README.md` command examples when the user-facing CLI changes.
129
+
130
+ Run tests with:
131
+
132
+ ```bash
133
+ python -m pytest
134
+ ```
135
+
136
+ If the package is not installed in the current environment, install it first with:
137
+
138
+ ```bash
139
+ pip install -e ".[dev]"
140
+ ```
@@ -0,0 +1,56 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "setuptools-scm>=8"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "trello-board-cli"
7
+ dynamic = ["version"]
8
+ authors = [
9
+ { name = "tranch", email = "tranch.xiao@gmail.com" },
10
+ ]
11
+ description = "LLM-friendly command-line interface for Trello."
12
+ readme = "README.md"
13
+ requires-python = ">=3.11"
14
+ license = "MIT"
15
+ license-files = ["LICENSE"]
16
+ dependencies = [
17
+ "requests>=2.31",
18
+ "typer>=0.12",
19
+ ]
20
+
21
+ keywords = ["trello", "cli", "llm", "automation"]
22
+
23
+ classifiers = [
24
+ "Development Status :: 3 - Alpha",
25
+ "Environment :: Console",
26
+ "Intended Audience :: Developers",
27
+ "Programming Language :: Python :: 3",
28
+ "Programming Language :: Python :: 3.11",
29
+ "Programming Language :: Python :: 3.12",
30
+ "Programming Language :: Python :: 3.13",
31
+ "Programming Language :: Python :: 3.14",
32
+ "Programming Language :: Python :: 3.15",
33
+ "Topic :: Utilities",
34
+ ]
35
+
36
+ [project.optional-dependencies]
37
+ dev = [
38
+ "pytest>=8",
39
+ ]
40
+
41
+ [project.scripts]
42
+ trello-cli = "trello_cli.cli:main"
43
+
44
+ [tool.setuptools.packages.find]
45
+ where = ["src"]
46
+
47
+ [tool.pytest.ini_options]
48
+ testpaths = ["tests"]
49
+
50
+ [tool.setuptools_scm]
51
+ version_scheme = "guess-next-dev"
52
+ local_scheme = "no-local-version"
53
+
54
+ [project.urls]
55
+ Homepage = "https://github.com/tranch/trello-cli"
56
+ Issues = "https://github.com/tranch/trello-cli/issues"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,117 @@
1
+ Metadata-Version: 2.4
2
+ Name: trello-board-cli
3
+ Version: 0.2.0
4
+ Summary: LLM-friendly command-line interface for Trello.
5
+ Author-email: tranch <tranch.xiao@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/tranch/trello-cli
8
+ Project-URL: Issues, https://github.com/tranch/trello-cli/issues
9
+ Keywords: trello,cli,llm,automation
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Environment :: Console
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Classifier: Programming Language :: Python :: 3.15
19
+ Classifier: Topic :: Utilities
20
+ Requires-Python: >=3.11
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: requests>=2.31
24
+ Requires-Dist: typer>=0.12
25
+ Provides-Extra: dev
26
+ Requires-Dist: pytest>=8; extra == "dev"
27
+ Dynamic: license-file
28
+
29
+ # trello-cli
30
+
31
+ LLM-friendly command-line interface for Trello.
32
+
33
+ All commands write JSON to stdout. Errors are written to stderr and exit with
34
+ code 1.
35
+
36
+ ## Install from PyPI
37
+
38
+ The PyPI distribution is named `trello-board-cli` because the `trello-cli`
39
+ distribution name is already taken. The installed command remains `trello-cli`:
40
+
41
+ ```bash
42
+ pipx install trello-board-cli
43
+ ```
44
+
45
+ ## Install for local development
46
+
47
+ ```bash
48
+ cd ~/Workspace/trello-cli
49
+ python3 -m venv .venv
50
+ . .venv/bin/activate
51
+ pip install -e ".[dev]"
52
+ ```
53
+
54
+ This installs a `trello-cli` executable into the active environment. To deploy
55
+ it onto your normal `$PATH`, install it with the Python used by that path, or
56
+ use `pipx`:
57
+
58
+ ```bash
59
+ pipx install -e ~/Workspace/trello-cli
60
+ ```
61
+
62
+ ## Credentials
63
+
64
+ Credential loading priority:
65
+
66
+ 1. `TRELLO_API_KEY` and `TRELLO_TOKEN`
67
+ 2. `~/.config/trello-cli/config.toml`
68
+
69
+ Run:
70
+
71
+ ```bash
72
+ trello-cli auth
73
+ ```
74
+
75
+ ## Commands
76
+
77
+ ```bash
78
+ trello-cli list-boards
79
+ trello-cli whoami
80
+ trello-cli list-lists --board-id <id>
81
+ trello-cli list-cards --list-id <id>
82
+ trello-cli get-card --card-id <id>
83
+ trello-cli get-card --card-id <id> --format markdown
84
+ trello-cli get-card --short-id 413
85
+ trello-cli get-card --short-id 413 --card-filter all
86
+ trello-cli create-card --list-id <id> --name "Task title" --desc "Details"
87
+ trello-cli create-card --list-id <id> --name "Task title" --text-file notes.md
88
+ trello-cli update-card --card-id <id> --name "New title"
89
+ trello-cli update-card --card-id <id> --due 2025-12-31T09:00:00.000Z
90
+ trello-cli update-card --card-id <id> --closed
91
+ trello-cli add-comment --card-id <id> --text "Comment text"
92
+ trello-cli add-comment --card-id <id> --text-file comment.md
93
+ trello-cli add-comment --short-id 413 --text "Comment text"
94
+ trello-cli add-comment --short-id 413 --card-filter all --text "Comment text"
95
+ trello-cli list-comments --card-id <id>
96
+ trello-cli create-checklist --card-id <id> --name "Checklist"
97
+ trello-cli create-checklist --card-id <id> --name "Todos" --items-file /path/to/items.md
98
+ trello-cli get-checklist --checklist-id <id>
99
+ trello-cli update-checklist --checklist-id <id> --name "Updated checklist"
100
+ trello-cli delete-checklist --checklist-id <id>
101
+ trello-cli add-checkitem --checklist-id <id> --name "Item text" --checked
102
+ trello-cli get-checkitem --card-id <id> --checkitem-id <id>
103
+ trello-cli update-checkitem --card-id <id> --checkitem-id <id> --state complete
104
+ trello-cli delete-checkitem --card-id <id> --checkitem-id <id>
105
+ trello-cli list-checklists --card-id <id>
106
+ ```
107
+
108
+ Card descriptions and comments accept Markdown. Literal `\\n`, `\\r\\n`, and
109
+ `\\r` sequences supplied by LLMs are normalized to real line breaks before the
110
+ request is sent. Use `--text-file` (or `-` for stdin) when passing
111
+ multi-line Markdown directly.
112
+
113
+ ## Agent skill
114
+
115
+ This repository includes `SKILL.md`, an agent-oriented guide for using and
116
+ maintaining `trello-cli`. Codex can install it as a skill; other agents can read
117
+ the same file as project-specific operating instructions.
@@ -0,0 +1,22 @@
1
+ .gitignore
2
+ LICENSE
3
+ README.md
4
+ SKILL.md
5
+ pyproject.toml
6
+ .github/workflows/publish.yml
7
+ src/trello_board_cli.egg-info/PKG-INFO
8
+ src/trello_board_cli.egg-info/SOURCES.txt
9
+ src/trello_board_cli.egg-info/dependency_links.txt
10
+ src/trello_board_cli.egg-info/entry_points.txt
11
+ src/trello_board_cli.egg-info/requires.txt
12
+ src/trello_board_cli.egg-info/scm_file_list.json
13
+ src/trello_board_cli.egg-info/scm_version.json
14
+ src/trello_board_cli.egg-info/top_level.txt
15
+ src/trello_cli/__init__.py
16
+ src/trello_cli/__main__.py
17
+ src/trello_cli/cli.py
18
+ src/trello_cli/client.py
19
+ src/trello_cli/config.py
20
+ src/trello_cli/markdown.py
21
+ tests/test_client.py
22
+ tests/test_config.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ trello-cli = trello_cli.cli:main
@@ -0,0 +1,5 @@
1
+ requests>=2.31
2
+ typer>=0.12
3
+
4
+ [dev]
5
+ pytest>=8
@@ -0,0 +1,18 @@
1
+ {
2
+ "files": [
3
+ ".github/workflows/publish.yml",
4
+ ".gitignore",
5
+ "LICENSE",
6
+ "README.md",
7
+ "SKILL.md",
8
+ "pyproject.toml",
9
+ "src/trello_cli/__init__.py",
10
+ "src/trello_cli/__main__.py",
11
+ "src/trello_cli/cli.py",
12
+ "src/trello_cli/client.py",
13
+ "src/trello_cli/config.py",
14
+ "src/trello_cli/markdown.py",
15
+ "tests/test_client.py",
16
+ "tests/test_config.py"
17
+ ]
18
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "0.2.0",
3
+ "distance": 0,
4
+ "node": "gef9995c79cd73e7b87eef7c2f577cc71851ce3ba",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-11-27"
8
+ }
@@ -0,0 +1,3 @@
1
+ """Trello CLI package."""
2
+
3
+ __version__ = "0.1.0"