Simple Ruby Trello Command Line Interface
Install the trello_cli gem
gem install trello_cli
Sign-in to trello.com as the user you want to use for trello_cli.
Get API key (open this link in a web browser):
https://trello.com/1/appKey/generate The top field contains your Developer API Key. Use it to replace YOUR_API_KEY in the below.
Get read only member token:
Get read / write member token:
Set the environment variables:
The CLI takes the following form:
trello TARGET COMMAND OPTIONS
To see a list of targets:
# trello -h trello [board|card|list] [command] OPTIONS Append -h for help on specific target.
To see a list of commands for a given target:
# trello card -h Valid commands for card: create, list For further help, append -h to sub command.
To see help for a specific command:
# trello card create -h Usage: trello card [create]  -b, --board [BOARD] Trello Board Id -d, --description [DESCRIPTION] Description Of Card -l, --list [LIST] List Of Card -n, --name [NAME] Name Of Card
List the boards available to the given credentials:
trello board list
List the lists for a given board id:
trello list list -b 123
Create a card:
trello card create -b 123 -l 321 -n 'card name' -d 'card description'
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request