A CLI tool for getting Trello card titles and links in various formats (default: markdown).
The following Trello API credentials are required from your account:
- TRELLO_DEVELOPER_PUBLIC_KEY
- TRELLO_MEMBER_TOKEN
Run the following command to create a config file
trellist initconfig
Supply your Trello creds to that ~/.trellist
file in your home directory.
Otherwise you'll need to supply your key and token as flags such as:
trellist -k TRELLO_DEVELOPER_PUBLIC_KEY -t TRELLO_MEMBER_TOKEN -b TRELLO_BOARD_ID cards
trellist help
to display help.
trellist cards
mardown formattrellist cards --format=markdown
same as abovetrellist cards --format=plain
just linkstrellist cards --format=html
htmltrellist cards --format=titles-only
titles only
You can supply optional prefix and suffix flags to alter the output. However, prefix and suffix only work for markdown and HTML formats.
example. trellist cards --format=markdown --prefix='* '
will return
* [Card Title](https://trello.com/c/1moT1m3)
Similar with suffix.
You can filter cards by their labels.
example. trellist cards --label='foo'
bundle install
bundle exec ./bin/trellist cards
you have to use bundle exec in development mode
Run rake -T
to view helpful build and release tasks.
Pull requests welcome. Please follow the contribution guide.