An open API service indexing awesome lists of open source software.

https://github.com/blangel/wrk

A command line interface to Trello
https://github.com/blangel/wrk

Last synced: about 1 month ago
JSON representation

A command line interface to Trello

Awesome Lists containing this project

README

        

Overview
--------

Wrk is a command line interface to Trello.

Installation
--------------

Download the tar file [wrk.tar.gz](https://github.com/downloads/blangel/wrk/wrk-latest.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](https://trello.com/docs/gettingstarted/index.html#getting-a-token-from-a-user) (using your own application key or this one `8d56bbd601877abfd13150a999a840d0`).

Versions
-----------

`1.0` - initial release

`1.0.1` - added search command

Usage
-------

`wrk --help`
`wrk help `

Trello Id v. Wrk Id
--------

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

![trello ids](https://github.com/blangel/wrk/raw/master/docs/img/trello-id.png "trello ids")

Using wrk ids:

wrk orgs
wrk boards in wrk1
wrk cards in wrk5
wrk pop
wrk cards in wrk2

![wrk ids](https://github.com/blangel/wrk/raw/master/docs/img/wrk-id.png "wrk ids")

Color/Editor Configuration
------

To modify default color settings or the default editor see file `~/.wrk/config`