Wrk is a command line interface to Trello.
Download the tar file wrk.tar.gz
Un-package the tar file to a directory of your choosing (say /opt/wrk
) and then make sure the following properties are set as environmental variables:
-
JAVA_HOME
-> (likely already set by your distro) set to the home directory of the java installation -
WRK_HOME
-> set to the directory of where ever you untar-ed wrk (i.e.,/opt/wrk
).
Now add ${WRK_HOME}/bin
to your $PATH
Finally, create file ~/.wrk/token
and save in it your Trello token. For help in creating a token see here (using your own application key or this one 8d56bbd601877abfd13150a999a840d0
).
1.0
- initial release
1.0.1
- added search command
wrk --help
wrk help <command>
All commands work with both a Trello Id (a long unique identifier provided by Trello) or a wrk generated id. The wrk generated id is a short id starting with wrk
and is meant to be used to chain operations together fluidly without having to copy and paste output. By illustration, compare the two equivalent chains of commands:
Using Trello ids:
wrk orgs
# copy and paste organization id from output of last command
wrk boards in varickbergen
# copy and paste board id from output of last command
wrk cards in b:4feda1809693a8f66051de39
# copy and paste board id from output of 2 commands previous
wrk cards in b:4fed9292f29a10bc3b4077ec
Using wrk ids:
wrk orgs
wrk boards in wrk1
wrk cards in wrk5
wrk pop
wrk cards in wrk2
To modify default color settings or the default editor see file ~/.wrk/config