No Description

Pat Lathem 210b074a68 Add pipenv directions 10 months ago
trello 7b6cdecf46 Add support for displaying cards. 10 months ago
Dockerfile 6788294a54 Commit WIP 10 months ago
Pipfile 7b6cdecf46 Add support for displaying cards. 10 months ago
Pipfile.lock 7b6cdecf46 Add support for displaying cards. 10 months ago
README.md 210b074a68 Add pipenv directions 10 months ago
cli.py 7b6cdecf46 Add support for displaying cards. 10 months ago

README.md

trello-cli tool

Build

$ docker build -t trello-cli .
<snip>
Successfully tagged trello-cli:latest

Usage

Set required environment variables

  • TRELLO_KEY
  • TRELLO_TOKEN

Obtain these from https://trello.com/app-key if you don't have them.

Run in Docker

$ docker run --rm -it -e "TRELLO_KEY=$TRELLO_KEY" -e "TRELLO_TOKEN=$TRELLO_TOKEN" trello-cli:latest boards
+-------------------+-------------------------------------------------+
| Name              | URL                                             |
+-------------------+-------------------------------------------------+
| 906 Banister      | https://trello.com/b/cBx45JB7/906-banister      |
| Groceries         | https://trello.com/b/Ytm2Y57N/groceries         |
| Personal Projects | https://trello.com/b/lyoJdzEn/personal-projects |
| Plants            | https://trello.com/b/1opnhdgH/plants            |
| Welcome Board     | https://trello.com/b/zsUsPQmG/welcome-board     |
| Work              | https://trello.com/b/IA73NzQB/work              |
| Work Projects     | https://trello.com/b/uqyQmgc2/work-projects     |
+-------------------+-------------------------------------------------+

Run with pipenv

$ pipenv --version
pipenv, version 2018.10.13

$ pipenv shell
Launching subshell in virtual environment…
Darwin CLI-16232 17.7.0 x86_64
14:24  up 53 days, 22:19, 2 users, load averages: 3.08 2.47 2.35

$ python cli.py cards -n "Welcome Board"
         Basics
 * Welcome to Trello!
 * This is a card.
 * Click on a card to see what's behind it.
 * You can attach pictures and files...
 * ... any kind of hyperlink ...
 * ... or checklists.

         Intermediate
 * Invite your team to this board using the Add Members button
 * Drag people onto a card to indicate that they're responsible for it.
 * Use color-coded labels for organization
 * You can change the board background.
 * Make as many lists as you need!
 * Try dragging cards anywhere.
 * Finished with a card? Archive it.

         Advanced
 * Use as many boards as you want!
 * Want tips, usage examples, or API info?
 * Want to use keyboard shortcuts? We have them!
 * Get the apps for iOS, Android, and Windows 8!
 * Want updates on new features?
 * Need help?