trello-releasenotes
v0.9.0
Published
A simple nodejs trello release notes generator
Downloads
14
Readme
trello-releasenotes
A trello release notes generator for node.js
Installation
You can install it using npm
.
npm install trello-releasenotes
Obtain a Trello token
First, log in to Trello and open Generate API Keys. You'll receive an key to use in the next step.
Second, call https://trello.com/1/authorize?key=YOUR_KEY&name=trello-releasenotes&expiration=never&response_type=token to grant access for this application.
For further information visit: Getting a Token from a User
Store the key and the given token in settings.json
.
Usage
There are some settings you can set up in settings.json
:
applicationKey Insert your obtained application key from Trello to get access to it
userToken Define your user token you'll receive when obtaining an application ey
boardId Define the id of the board you want to search for release notes
strings These are used to create the export, translate them into your language if you want
version
andproduct
ofstrings
are used to generate the filename.
How to obtain the board id
When you open your Trello account you get a list of boards, open one of it and the URL will be something like
https://trello.com/board/boardname/identifier
Copy identifier
and set this one as the boardId
in settings.json
.
Export
To export release notes start it like shown bellow:
node index.js -g [LISTNAME]
Replace [LISTNAME]
with the name of your list that contains the cards and release note for export.
Example
To export all release notes of list 'Done' execute
node index.js -g Done
At the moment just one list can be exported. This will change in future versions.
Please note that the result is a .markdown
file that can be processed with other modules like ideamark or mdserv.
License
MIT
Upcoming Features
- Support of multiple lists
- Generation of HTML and PDF output
- Real templating