@hesed/trello
v0.4.0
Published
CLI for Trello API interaction
Readme
trello
CLI for Trello API interaction
Install
sdkck plugins install @hesed/trelloUsage
$ npm install -g @hesed/trello
$ trello COMMAND
running command...
$ trello (--version)
@hesed/trello/0.4.0 linux-x64 node-v24.16.0
$ trello --help [COMMAND]
USAGE
$ trello COMMAND
...Commands
trello trello auth addtrello trello auth deletetrello trello auth listtrello trello auth profiletrello trello auth testtrello trello auth updatetrello trello board cards BOARDIDtrello trello board get BOARDIDtrello trello board listtrello trello board lists BOARDIDtrello trello board members BOARDIDtrello trello card comments CARDIDtrello trello card create LISTID NAMEtrello trello card delete CARDIDtrello trello card get CARDIDtrello trello card move CARDID LISTIDtrello trello card search QUERYtrello trello card update CARDIDtrello trello checklist add-item CHECKLISTID NAMEtrello trello checklist create CARDID NAMEtrello trello checklist delete CHECKLISTIDtrello trello checklist delete-item CHECKLISTID CHECKITEMIDtrello trello checklist get CHECKLISTIDtrello trello comment add CARDID TEXTtrello trello comment delete CARDID ACTIONIDtrello trello comment update CARDID ACTIONID TEXTtrello trello label create BOARDID NAME COLORtrello trello label delete LABELIDtrello trello label list BOARDIDtrello trello list archive LISTIDtrello trello list cards LISTIDtrello trello list create BOARDID NAMEtrello trello list get LISTIDtrello trello member get [MEMBERID]
trello trello auth add
Add Trello authentication
USAGE
$ trello trello auth add -p <value> -k <value> -t <value> [--json]
FLAGS
-k, --apiKey=<value> (required) API key
-p, --profile=<value> (required) Profile name
-t, --apiToken=<value> (required) API token
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Add Trello authentication
EXAMPLES
$ trello trello auth add
$ trello trello auth add -p prodSee code: src/commands/trello/auth/add.ts
trello trello auth delete
Delete an authentication profile
USAGE
$ trello trello auth delete [--json] [-p <value>]
FLAGS
-p, --profile=<value> Profile to delete
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Delete an authentication profile
EXAMPLES
$ trello trello auth delete
$ trello trello auth delete -p prodSee code: src/commands/trello/auth/delete.ts
trello trello auth list
List authentication profiles
USAGE
$ trello trello auth list [--json]
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List authentication profiles
EXAMPLES
$ trello trello auth listSee code: src/commands/trello/auth/list.ts
trello trello auth profile
Set or show the default authentication profile
USAGE
$ trello trello auth profile [--json] [--default <value>]
FLAGS
--default=<value> Profile to set as default
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Set or show the default authentication profile
EXAMPLES
$ trello trello auth profile
$ trello trello auth profile --default testSee code: src/commands/trello/auth/profile.ts
trello trello auth test
Test authentication and connection
USAGE
$ trello trello auth test [--json] [-p <value>]
FLAGS
-p, --profile=<value> Authentication profile name
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Test authentication and connection
EXAMPLES
$ trello trello auth test
$ trello trello auth test -p prodSee code: src/commands/trello/auth/test.ts
trello trello auth update
Update Trello authentication
USAGE
$ trello trello auth update -p <value> -k <value> -t <value> [--json]
FLAGS
-k, --apiKey=<value> (required) API key
-p, --profile=<value> (required) Profile name
-t, --apiToken=<value> (required) API token
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Update Trello authentication
EXAMPLES
$ trello trello auth update
$ trello trello auth update -p testSee code: src/commands/trello/auth/update.ts
trello trello board cards BOARDID
Get all cards on a board
USAGE
$ trello trello board cards BOARDID [--filter <value>] [-p <value>] [--toon]
ARGUMENTS
BOARDID Board ID
FLAGS
-p, --profile=<value> Authentication profile name
--filter=<value> Filter cards (all, closed, none, open, visible)
--toon Format output as toon
DESCRIPTION
Get all cards on a board
EXAMPLES
$ trello trello board cards 5a1b2c3dSee code: src/commands/trello/board/cards.ts
trello trello board get BOARDID
Get details of a specific board
USAGE
$ trello trello board get BOARDID [-p <value>] [--toon]
ARGUMENTS
BOARDID Board ID
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Get details of a specific board
EXAMPLES
$ trello trello board get 5a1b2c3d4e5f6g7h8i9jSee code: src/commands/trello/board/get.ts
trello trello board list
List all boards for the authenticated member
USAGE
$ trello trello board list [-p <value>] [--toon]
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
List all boards for the authenticated member
EXAMPLES
$ trello trello board listSee code: src/commands/trello/board/list.ts
trello trello board lists BOARDID
Get all lists on a board
USAGE
$ trello trello board lists BOARDID [-p <value>] [--toon]
ARGUMENTS
BOARDID Board ID
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Get all lists on a board
EXAMPLES
$ trello trello board lists 5a1b2c3d4e5f6g7h8i9jSee code: src/commands/trello/board/lists.ts
trello trello board members BOARDID
Get all members of a board
USAGE
$ trello trello board members BOARDID [-p <value>] [--toon]
ARGUMENTS
BOARDID Board ID
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Get all members of a board
EXAMPLES
$ trello trello board members 5a1b2c3dSee code: src/commands/trello/board/members.ts
trello trello card comments CARDID
Get comments on a card
USAGE
$ trello trello card comments CARDID [-p <value>] [--toon]
ARGUMENTS
CARDID Card ID
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Get comments on a card
EXAMPLES
$ trello trello card comments 5a1b2c3dSee code: src/commands/trello/card/comments.ts
trello trello card create LISTID NAME
Create a new card
USAGE
$ trello trello card create LISTID NAME [--desc <value>] [--pos top|bottom] [-p <value>] [--toon]
ARGUMENTS
LISTID List ID to add the card to
NAME Card name
FLAGS
-p, --profile=<value> Authentication profile name
--desc=<value> Card description
--pos=<option> Position of the card (top, bottom)
<options: top|bottom>
--toon Format output as toon
DESCRIPTION
Create a new card
EXAMPLES
$ trello trello card create 5a1b2c3d "My new card"
$ trello trello card create 5a1b2c3d "My new card" --desc "Card description" --pos topSee code: src/commands/trello/card/create.ts
trello trello card delete CARDID
Delete a card
USAGE
$ trello trello card delete CARDID [-p <value>]
ARGUMENTS
CARDID Card ID
FLAGS
-p, --profile=<value> Authentication profile name
DESCRIPTION
Delete a card
EXAMPLES
$ trello trello card delete 5a1b2c3dSee code: src/commands/trello/card/delete.ts
trello trello card get CARDID
Get details of a specific card
USAGE
$ trello trello card get CARDID [-p <value>] [--toon]
ARGUMENTS
CARDID Card ID
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Get details of a specific card
EXAMPLES
$ trello trello card get 5a1b2c3dSee code: src/commands/trello/card/get.ts
trello trello card move CARDID LISTID
Move a card to a different list
USAGE
$ trello trello card move CARDID LISTID [--board <value>] [-p <value>] [--toon]
ARGUMENTS
CARDID Card ID
LISTID Target list ID
FLAGS
-p, --profile=<value> Authentication profile name
--board=<value> Target board ID (for cross-board moves)
--toon Format output as toon
DESCRIPTION
Move a card to a different list
EXAMPLES
$ trello trello card move cardId123 listId456
$ trello trello card move cardId123 listId456 --board boardId789See code: src/commands/trello/card/move.ts
trello trello card search QUERY
Search for cards
USAGE
$ trello trello card search QUERY [--boards <value>] [-p <value>] [--toon]
ARGUMENTS
QUERY Search query
FLAGS
-p, --profile=<value> Authentication profile name
--boards=<value> Comma-separated board IDs to search within
--toon Format output as toon
DESCRIPTION
Search for cards
EXAMPLES
$ trello trello card search "bug fix"
$ trello trello card search "bug fix" --boards boardId1,boardId2See code: src/commands/trello/card/search.ts
trello trello card update CARDID
Update an existing card
USAGE
$ trello trello card update CARDID --fields <value>... [-p <value>] [--toon]
ARGUMENTS
CARDID Card ID
FLAGS
-p, --profile=<value> Authentication profile name
--fields=<value>... (required) Card fields to update in key=value format
--toon Format output as toon
DESCRIPTION
Update an existing card
EXAMPLES
$ trello trello card update 5a1b2c3d --fields name="Updated name" desc="New description"See code: src/commands/trello/card/update.ts
trello trello checklist add-item CHECKLISTID NAME
Add an item to a checklist
USAGE
$ trello trello checklist add-item CHECKLISTID NAME [-p <value>] [--toon]
ARGUMENTS
CHECKLISTID Checklist ID
NAME Check item name
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Add an item to a checklist
EXAMPLES
$ trello trello checklist add-item checklistId123 "Buy groceries"See code: src/commands/trello/checklist/add-item.ts
trello trello checklist create CARDID NAME
Create a new checklist on a card
USAGE
$ trello trello checklist create CARDID NAME [-p <value>] [--toon]
ARGUMENTS
CARDID Card ID
NAME Checklist name
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Create a new checklist on a card
EXAMPLES
$ trello trello checklist create cardId123 "My Checklist"See code: src/commands/trello/checklist/create.ts
trello trello checklist delete CHECKLISTID
Delete a checklist
USAGE
$ trello trello checklist delete CHECKLISTID [-p <value>]
ARGUMENTS
CHECKLISTID Checklist ID
FLAGS
-p, --profile=<value> Authentication profile name
DESCRIPTION
Delete a checklist
EXAMPLES
$ trello trello checklist delete 5a1b2c3dSee code: src/commands/trello/checklist/delete.ts
trello trello checklist delete-item CHECKLISTID CHECKITEMID
Delete an item from a checklist
USAGE
$ trello trello checklist delete-item CHECKLISTID CHECKITEMID [-p <value>]
ARGUMENTS
CHECKLISTID Checklist ID
CHECKITEMID Check item ID
FLAGS
-p, --profile=<value> Authentication profile name
DESCRIPTION
Delete an item from a checklist
EXAMPLES
$ trello trello checklist delete-item checklistId123 itemId456See code: src/commands/trello/checklist/delete-item.ts
trello trello checklist get CHECKLISTID
Get details of a specific checklist
USAGE
$ trello trello checklist get CHECKLISTID [-p <value>] [--toon]
ARGUMENTS
CHECKLISTID Checklist ID
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Get details of a specific checklist
EXAMPLES
$ trello trello checklist get 5a1b2c3dSee code: src/commands/trello/checklist/get.ts
trello trello comment add CARDID TEXT
Add a comment to a card
USAGE
$ trello trello comment add CARDID TEXT [-p <value>] [--toon]
ARGUMENTS
CARDID Card ID
TEXT Comment text
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Add a comment to a card
EXAMPLES
$ trello trello comment add cardId123 "This is a comment"
$ trello trello comment add cardId123 "**Bold** _italic_ ~~strikethrough~~"
$ trello trello comment add cardId123 "- Item 1
- Item 2
- Item 3"
$ trello trello comment add cardId123 "Check [this](https://example.com) link"See code: src/commands/trello/comment/add.ts
trello trello comment delete CARDID ACTIONID
Delete a comment from a card
USAGE
$ trello trello comment delete CARDID ACTIONID [-p <value>]
ARGUMENTS
CARDID Card ID
ACTIONID Comment action ID
FLAGS
-p, --profile=<value> Authentication profile name
DESCRIPTION
Delete a comment from a card
EXAMPLES
$ trello trello comment delete cardId123 actionId456See code: src/commands/trello/comment/delete.ts
trello trello comment update CARDID ACTIONID TEXT
Update a comment on a card
USAGE
$ trello trello comment update CARDID ACTIONID TEXT [-p <value>] [--toon]
ARGUMENTS
CARDID Card ID
ACTIONID Comment action ID
TEXT Updated comment text
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Update a comment on a card
EXAMPLES
$ trello trello comment update cardId123 actionId456 "Updated comment"
$ trello trello comment update cardId123 actionId456 "**Bold** _italic_ ~~strikethrough~~"
$ trello trello comment update cardId123 actionId456 "- Item 1
- Item 2
- Item 3"
$ trello trello comment update cardId123 actionId456 "Check [this](https://example.com) link"See code: src/commands/trello/comment/update.ts
trello trello label create BOARDID NAME COLOR
Create a new label on a board
USAGE
$ trello trello label create BOARDID NAME COLOR [-p <value>] [--toon]
ARGUMENTS
BOARDID Board ID
NAME Label name
COLOR (blue|green|orange|red|yellow|purple|pink|sky|lime|black) Label color
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Create a new label on a board
EXAMPLES
$ trello trello label create 5a1b2c3d "Bug" redSee code: src/commands/trello/label/create.ts
trello trello label delete LABELID
Delete a label
USAGE
$ trello trello label delete LABELID [-p <value>]
ARGUMENTS
LABELID Label ID
FLAGS
-p, --profile=<value> Authentication profile name
DESCRIPTION
Delete a label
EXAMPLES
$ trello trello label delete 5a1b2c3dSee code: src/commands/trello/label/delete.ts
trello trello label list BOARDID
List all labels on a board
USAGE
$ trello trello label list BOARDID [-p <value>] [--toon]
ARGUMENTS
BOARDID Board ID
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
List all labels on a board
EXAMPLES
$ trello trello label list 5a1b2c3dSee code: src/commands/trello/label/list.ts
trello trello list archive LISTID
Archive a list or all cards in a list
USAGE
$ trello trello list archive LISTID [--cards-only] [-p <value>]
ARGUMENTS
LISTID List ID
FLAGS
-p, --profile=<value> Authentication profile name
--cards-only Only archive cards in the list, not the list itself
DESCRIPTION
Archive a list or all cards in a list
EXAMPLES
$ trello trello list archive 5a1b2c3d
$ trello trello list archive 5a1b2c3d --cards-onlySee code: src/commands/trello/list/archive.ts
trello trello list cards LISTID
Get all cards in a list
USAGE
$ trello trello list cards LISTID [-p <value>] [--toon]
ARGUMENTS
LISTID List ID
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Get all cards in a list
EXAMPLES
$ trello trello list cards 5a1b2c3dSee code: src/commands/trello/list/cards.ts
trello trello list create BOARDID NAME
Create a new list on a board
USAGE
$ trello trello list create BOARDID NAME [--pos top|bottom] [-p <value>] [--toon]
ARGUMENTS
BOARDID Board ID
NAME List name
FLAGS
-p, --profile=<value> Authentication profile name
--pos=<option> Position of the list (top, bottom)
<options: top|bottom>
--toon Format output as toon
DESCRIPTION
Create a new list on a board
EXAMPLES
$ trello trello list create 5a1b2c3d "To Do"
$ trello trello list create 5a1b2c3d "Done" --pos bottomSee code: src/commands/trello/list/create.ts
trello trello list get LISTID
Get details of a specific list
USAGE
$ trello trello list get LISTID [-p <value>] [--toon]
ARGUMENTS
LISTID List ID
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Get details of a specific list
EXAMPLES
$ trello trello list get 5a1b2c3dSee code: src/commands/trello/list/get.ts
trello trello member get [MEMBERID]
Get member details
USAGE
$ trello trello member get [MEMBERID] [-p <value>] [--toon]
ARGUMENTS
[MEMBERID] [default: me] Member ID or username (defaults to "me")
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Get member details
EXAMPLES
$ trello trello member get
$ trello trello member get me
$ trello trello member get johndoeSee code: src/commands/trello/member/get.ts
