0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Ruboty plugin for adding a new card to Trello
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

 Project Readme

Ruboty::Trello

Ruboty plugin for adding a new card to Trello.

Installation

Add this line to your application's Gemfile:

gem 'ruboty-trello'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruboty-trello

Usage

@ruboty trello b <board_name> l <list_name> (lb <label_name>) (dd <due_date>) c <card_name>

e.g.

@ruboty trello b development l icebox c something
@ruboty trello b development l icebox dd 2016-01-01 c something
@ruboty trello b development l icebox dd 2016-01-01 01:02 c something
@ruboty trello b development l icebox lb feature dd 2016-01-01 01:02 c something

ENV

required

TRELLO_DEVELOPER_PUBLIC_KEY - Developer API Key
TRELLO_MEMBER_TOKEN - Member Token (require read&write scope)

see https://github.com/jeremytregunna/ruby-trello#configuration to get these keys

optional

TRELLO_AUTO_ASSIGN - If set to '1', assigns sender with created card
TRELLO_RESPONSE_PREFIX - Specify response message (default is 'Created')
TRELLO_MEMBER_FROM_SENDER - JSON for sender to Trello member mapping (ex: {"ihara":"masahiroihara", "taro":"taroyamada"})

How to develop

You have to set TRELO_DEVELOPER_PUBLIC_KEY and TRELLO_MEMBER_TOKEN, set other environment variables if you need.

>  TRELLO_DEVELOPER_PUBLIC_KEY=xxx TRELLO_MEMBER_TOKEN=xxx bundle exec ruboty -l lib/ruboty/trello.rb

Contributing

  1. Fork it ( https://github.com/bitjourney/ruboty-trello/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request