npm i -g trello-recap
Get an API Key and Token from Trello.
Set the following environment variables:
TRELLO_API_KEY
TRELLO_API_TOKEN
Get the keys from here: https://trello.com/app-key
--board
is needed.
Tip: You can also pass it as first argument: trello-recap "TRELLO_BOARD_NAME" --since "2018-02-01"
--since
is optional, ISO Date formatted string. e.g. 2018-02-01
--member
is optional, username of a member (e.g. christianfei
)
--list
is optional, filter lists by name (e.g. done
)
--label
is optional, filter cards by label (e.g. bug
)
--effort
is optional, if yes
or y
will calculate effort by label
# set env variables
TRELLO_API_KEY=<YOUR_TRELLO_API_KEY>
TRELLO_API_TOKEN=<YOUR_TRELLO_API_TOKEN>
trello-recap --board "TRELLO_BOARD_NAME" --since "2018-02-01"
or with npx
npx trello-recap --board "TRELLO_BOARD_NAME" --since "2018-02-01"
Specify the name of the board.
Tip: put it between "" when passing it to the cli
Filter cards after that date
Filter cards assigned to a member
Filter lists by name
Filter lists by label
Calculates efforts by label