• Stars
    star
    294
  • Rank 141,303 (Top 3 %)
  • Language
    TypeScript
  • Created over 11 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Command line client for Trello

trello-cli is a CLI tool for Trello. Makes sense, right?

Build Status

trello-cli requires a minimum NodeJS version of 14

Installation

You can install this tool by running npm install -g trello-cli.

If you're an Arch user, it's also available in the Arch User Repository

Using trello-cli

  • Run npm install in the same directory as package.json to install dependencies
  • Run ./bin/trello to generate basic config in your home directory.
  • Get an API key and put it in ~/.trello-cli/config.json
  • Run ./bin/trello refresh to refresh the list of Trello boards and lists.
  • Run ./bin/trello + follow the instructions

If you get stuck, you can always run ./bin/trello --help or ./bin/trello command --help

If you installed globally

Instead of running ./bin/trello just run trello.

Supported API commands

trello-cli currently supports the following commands:

add-board          Adds a new board with the specified name
add-card           Add a card to a board
add-list           Adds a new list to the spcified board with the specified name
add-webhook        Add a webhook to a board
archive-card       Archive a card from a board
assigned-to-me     Show cards that are currently assigned to yourself, or any member specified
card-assign        Add or remove a member to a card
card-details       Show details about a specified card
close-board        Closes those board(s) where the specified text occurs in their name
delete-card        Remove a card from a board
delete-webhook     Remove a webhook by ID
move-all-cards     Move all cards from one list to another
move-card          Move a card on a board
refresh            Refresh all your board/list names
show-boards        Show the list of cached boards
show-cards         Show the cards on a list
show-labels        Show labels defined on a board
show-lists         Show the list of cached lists
show-webhooks      display webhooks for current user applications

On Windows

Depending on how node.js is setup, you may not be able to run trello straight from the command line as shown above. To remedy that, add the following to your Powershell profile (type $profile at the Powershell prompt to find where your profile is stored):

function trello { & 'PATH_TO_NODE.EXE' 'PATH_TO_TRELLO_BIN' $args }

Replacing PATH_TO_NODE.EXE and PATH_TO_TRELLO_BIN with the values from your system.

You will then have the trello command available anywhere.

Examples

# Add card:
$ trello add-card -b "Inbox" -l "Inbox" "Quick card added from command line" -p bottom

# Move all cards:
$ trello move-all-cards -b "GTD" -l "Completed next actions" -c "GTD" -d "Completed next actions (Nov 2-8)"

FAQ

Archived lists aren't included when I run trello refresh By default archived lists are not returned by the API. Set the TRELLO_CLI_LIST_FILTER environment variable to all to include archived lists.

More Repositories

1

github-default-branch

Rename your default branch on GitHub
JavaScript
134
star
2

Silex-Extensions

Collection of Extensions for Silex
PHP
116
star
3

github-action-required-labels

Fail the build if/unless a certain combination of labels are applied to a pull request
JavaScript
91
star
4

phpunit-github-actions-printer

PHP
70
star
5

Silex-Assetic

PHP
68
star
6

pin-github-action

Pin your GitHub actions to a specific hash
JavaScript
67
star
7

socketio-chat-example

JavaScript
36
star
8

github-update-secret

Update a GitHub Secret in all your repos at the same time
JavaScript
35
star
9

phpunit-matcher-action

Add annotations to your PHPUnit tests when running under Github Actions
JavaScript
32
star
10

octokit-commit-multiple-files

Octokit plugin to create/update multiple files at once
JavaScript
29
star
11

Silex-Memcache

PHP
24
star
12

require-checklist-action

JavaScript
23
star
13

github-social-image

JavaScript
19
star
14

automatic-approve-action

Automatically approve workflow runs for new contributors
JavaScript
13
star
15

markdown-to-jira

Create Jira tickets from a plain text format
JavaScript
12
star
16

Instapaper-XAuth-PHP

Small helper class for making requests to the Instapaper API
PHP
11
star
17

pocket-auth

JavaScript
10
star
18

github-action-pr-heroku-review-app

JavaScript
9
star
19

dotfiles-v1

Vim Script
9
star
20

pocket-auth-cli

JavaScript
9
star
21

github-action-hold-your-horses

JavaScript
8
star
22

problem-matcher

Problem Matcher implementation in node.js
JavaScript
8
star
23

iTunes-Library-Parser

Class to parse iTunes Library XML Files
PHP
8
star
24

submodule-sync-action

JavaScript
7
star
25

pocket-tagger

JavaScript
7
star
26

Silex-Markdown

PHP
7
star
27

Silex-Gravatar

PHP
6
star
28

regex-rules

JavaScript
5
star
29

github-action-issue-to-jira

JavaScript
5
star
30

ansible-module-mas

Python
5
star
31

phpnw-ansible-playbooks

Ruby
5
star
32

Gnosis

Knowledge base app based on Markdown files
PHP
5
star
33

pocket-tagger-cli

JavaScript
5
star
34

Silex-Assetic-Demo

PHP
5
star
35

Silex-Mongo

PHP
5
star
36

github-new

JavaScript
4
star
37

Silex-Embedly

PHP
4
star
38

hold-your-horses

Hold your horses! is a Github status check that will leave a pending status check open for a certain period of time, leaving plenty of time for code reviews.
JavaScript
4
star
39

github-action-issue-management

Automatically manage your issue labels
JavaScript
4
star
40

markdown-meta-action

JavaScript
3
star
41

passport-offline

JavaScript
3
star
42

action-router

Handle multiple GitHub Actions events in a single action
JavaScript
3
star
43

Behat-Selenium2-Webdriver-MinkExtension-Example

PHP
3
star
44

github-show-actions

Show all GitHub Actions used by a user/org
JavaScript
3
star
45

frontmatter-json-schema-action

Validate YAML frontmatter against a JSON schema
JavaScript
3
star
46

action-guard

JavaScript
3
star
47

macos-dotfiles

Ruby
3
star
48

jenkins-global-library-demo

Groovy
3
star
49

mastering-express

Reference code for Mastering Express Web Application Development- https://www.packtpub.com/web-development/mastering-express-web-application-development-video
JavaScript
3
star
50

oas-toolkit

JavaScript
2
star
51

github-action-auto-compile-node

JavaScript
2
star
52

slim-demo

PHP
2
star
53

github-repo-topic

JavaScript
2
star
54

netlify-opengraph-on-demand-builders

JavaScript
2
star
55

github-release-dashboard

CSS
2
star
56

theunixtoolbox.com

CSS
2
star
57

json-schema-spell-checker

This CLI allows you to provide a JSONPath expression and run mdspell against any matching lines.
JavaScript
2
star
58

Silex-Predis

PHP
2
star
59

github-action-readme

JavaScript
2
star
60

github-action-heroku-logs

JavaScript
2
star
61

action-run

Run your Node.js based actions locally
JavaScript
2
star
62

Silex-Rest

Helpers to make building REST API's easier. Handles JSON/XML content types automatically
PHP
2
star
63

Silex-Mandango

PHP
2
star
64

debug-artifact

Save the event payload and `env` from a GitHub action run and easily download them
JavaScript
2
star
65

url-tagger

JavaScript
2
star
66

github-repos-csv

Generate a CSV list of your GitHub repos
JavaScript
2
star
67

vimrunner-php

PHP
1
star
68

terraform-duplicate-checker

Go
1
star
69

kitchen-ansible-docker-example

Example repo of how to test an Ansible playbook using kitchen-ansible and Docker
Ruby
1
star
70

github-action-csharp-example

C#
1
star
71

cascading-merge-action

JavaScript
1
star
72

jsondiff

Diff two pieces of JSON and receive a verbose explanation of any differences
PHP
1
star
73

dotfiles

Shell
1
star
74

vanguard-funds

JavaScript
1
star
75

payslip4u-downloader

JavaScript
1
star
76

github-action-debug

JavaScript
1
star
77

chrome-extension-open-in-blocks

Open the current repository in GitHub Blocks with the development server enabled
JavaScript
1
star
78

reviewed-by-trailer-action

JavaScript
1
star
79

twitter-id-to-username

A small web service for looking up the username of everyone that a specific user is following
JavaScript
1
star
80

wait-for-gem-version

JavaScript
1
star
81

Behat-Selenium2-Webdriver-Example

PHP
1
star
82

blocks-openapi

TypeScript
1
star
83

problem-matcher-tester

JavaScript
1
star
84

json-to-oas-component-cli

JavaScript
1
star
85

nexmo-developer

An archive of the old Nexmo Developer site content
HTML
1
star