UNPKG

trello-reporter

Version:
50 lines (36 loc) 1.32 kB
Trello Reporter ========================= Reporter Tool based on trello. ## Install ```bash npm install trello-reporter -g ``` ## How to use #### 1. config ```bash reporter config prompt: title: # Reporter and maill title,e.g DailyReport_2018-05-01.xlsx prompt: trello_key: # You can get it from **https://trello.com/app-key** prompt: trello_token: # You can get it from **https://trello.com/app-key** prompt: trello_memberId: # You can get it from your profile page,columnName:username prompt: filter_boards: # Your boardName, required,e.g boardName1,boardName2 prompt: filter_lists: # Your listName, not required,e.g boardName1,boardName2 prompt: filter_labels: # Your listName, not required,e.g listName1,listName2 prompt: mail_send: (false) true # true | false prompt: mail_from: # Your mailAddress prompt: mail_to: # You want send reporter to this address, e.g mail1,mail2 prompt: mail_username: # Your mail username prompt: mail_password: # Your mail password prompt: mail_smtp: # smtp address ``` If you want to clear a configuration item, enter the 'null' character.like this: ```bash prompt: filter_labels: null ``` #### 2. generate reporter.xlsx ```bash # Generate a report for today. reporter gen # Generates a report for the specified date. reporter gen -d 2018-05-01 ```