Commands
Quick reference for all trello-cli commands.
All commands are based on the Trello REST API.
Authentication
| Command | Description |
|---|---|
login | Authenticate with Trello |
logout | Clear stored credentials |
whoami | Show current user info |
status | Check login status |
Boards
| Command | Description |
|---|---|
boards | List your Trello boards |
boards get | Get details of a specific board |
boards create | Create a new board |
boards update | Update an existing board |
boards delete | Permanently delete a board |
boards lists | List all lists on a board |
boards cards | List all cards on a board |
boards members | List all members of a board |
boards labels | List all labels on a board |
boards checklists | List all checklists on a board |
boards custom-fields | List all custom fields on a board |
Lists
| Command | Description |
|---|---|
lists get | Get details of a specific list |
lists create | Create a new list |
lists update | Update an existing list |
lists cards | List cards in a list |
lists archive-all-cards | Archive all cards in a list |
lists move-all-cards | Move all cards to another list |
Cards
| Command | Description |
|---|---|
cards get | Get details of a specific card |
cards create | Create a new card |
cards update | Update an existing card |
cards delete | Permanently delete a card |
cards comments | List comments on a card |
cards add-comment | Add a comment to a card |
cards update-comment | Update a comment |
cards delete-comment | Delete a comment |
cards attachments | List attachments on a card |
cards add-attachment | Add an attachment |
cards delete-attachment | Delete an attachment |
cards members | List members on a card |
cards add-member | Add a member to a card |
cards remove-member | Remove a member from a card |
cards add-label | Add a label to a card |
cards remove-label | Remove a label from a card |
Labels
| Command | Description |
|---|---|
labels get | Get details of a specific label |
labels create | Create a new label |
labels update | Update an existing label |
labels delete | Permanently delete a label |
Checklists
| Command | Description |
|---|---|
checklists get | Get checklist details |
checklists create | Create a new checklist |
checklists update | Update a checklist |
checklists delete | Permanently delete a checklist |
checklists items | List check items in a checklist |
checklists add-item | Add a check item |
checklists remove-item | Remove a check item |
checklists update-item | Update a check item |
Custom Fields
| Command | Description |
|---|---|
custom-fields get | Get a custom field definition |
custom-fields create | Create a custom field |
custom-fields update | Update a custom field |
custom-fields delete | Delete a custom field |
custom-fields options | List dropdown options |
custom-fields add-option | Add a dropdown option |
custom-fields delete-option | Delete a dropdown option |
custom-fields card-values | List custom field values on a card |
custom-fields set-value | Set a custom field value on a card |
Search
| Command | Description |
|---|---|
search | Search boards and cards |
search members | Search for members |
Configuration
| Command | Description |
|---|---|
config get | Show current configuration |
config set | Set a configuration value |
config reset | Reset to defaults |
config path | Show config file path |
Global Options
All commands support:
| Option | Description |
|---|---|
--json | Output as JSON (for scripting) |
--help | Show command help |
--version | Show version |