Skip to content

Commands

Quick reference for all trello-cli commands.

All commands are based on the Trello REST API.

Authentication

CommandDescription
loginAuthenticate with Trello
logoutClear stored credentials
whoamiShow current user info
statusCheck login status

Boards

CommandDescription
boardsList your Trello boards
boards getGet details of a specific board
boards createCreate a new board
boards updateUpdate an existing board
boards deletePermanently delete a board
boards listsList all lists on a board
boards cardsList all cards on a board
boards membersList all members of a board
boards labelsList all labels on a board
boards checklistsList all checklists on a board
boards custom-fieldsList all custom fields on a board

Lists

CommandDescription
lists getGet details of a specific list
lists createCreate a new list
lists updateUpdate an existing list
lists cardsList cards in a list
lists archive-all-cardsArchive all cards in a list
lists move-all-cardsMove all cards to another list

Cards

CommandDescription
cards getGet details of a specific card
cards createCreate a new card
cards updateUpdate an existing card
cards deletePermanently delete a card
cards commentsList comments on a card
cards add-commentAdd a comment to a card
cards update-commentUpdate a comment
cards delete-commentDelete a comment
cards attachmentsList attachments on a card
cards add-attachmentAdd an attachment
cards delete-attachmentDelete an attachment
cards membersList members on a card
cards add-memberAdd a member to a card
cards remove-memberRemove a member from a card
cards add-labelAdd a label to a card
cards remove-labelRemove a label from a card

Labels

CommandDescription
labels getGet details of a specific label
labels createCreate a new label
labels updateUpdate an existing label
labels deletePermanently delete a label

Checklists

CommandDescription
checklists getGet checklist details
checklists createCreate a new checklist
checklists updateUpdate a checklist
checklists deletePermanently delete a checklist
checklists itemsList check items in a checklist
checklists add-itemAdd a check item
checklists remove-itemRemove a check item
checklists update-itemUpdate a check item

Custom Fields

CommandDescription
custom-fields getGet a custom field definition
custom-fields createCreate a custom field
custom-fields updateUpdate a custom field
custom-fields deleteDelete a custom field
custom-fields optionsList dropdown options
custom-fields add-optionAdd a dropdown option
custom-fields delete-optionDelete a dropdown option
custom-fields card-valuesList custom field values on a card
custom-fields set-valueSet a custom field value on a card
CommandDescription
searchSearch boards and cards
search membersSearch for members

Configuration

CommandDescription
config getShow current configuration
config setSet a configuration value
config resetReset to defaults
config pathShow config file path

Global Options

All commands support:

OptionDescription
--jsonOutput as JSON (for scripting)
--helpShow command help
--versionShow version

Released under the MIT License.