This is kinda hacked together for personal use, but at Casy's request, I put it up here.
If you have any ideas or suggestions, feel free to do a pull request.
Globally, you need to do the following:
- Download composer & run
composer install
in this directory - Copy
config.example.php
toconfig.php
To get this part going (after doing the steps above):
- Go here and get an API key: https://trello.com/1/appKey/generate
- Update the
key
andsecret
inconfig.php
- Run the PHP file in the server (
sudo php -S localhost:80
works, just make sure whatever you use is on port 80) - Open the script in the browser, and authorize the app when prompted
- You should update
templateURL
with whatever you fancy. You can see the example one (my personal standup) - You can now use this script both in the CLI and in the browser if you wish.
Notes:
- You should play around with
boardsmatch
config option if it takes too long to run. - It should skip all archived boards, cards, and lists
- It only will return cards assigned to YOU
- Today:
- This script scrubbs ALL of your boards for anything that is in
Doing
or inToday
that you personally are assigned to - Yesterday:
- Scrubbs each board activity for any card moved to either
Done
orQA
- If configured proper,y there will be a folder called
standup-logs
created where all your standups are placed.
This is kinda nice too for your ~/.bash_profile
:
alias standup='php -f ~/Sites/local.ethode/standup.php'
alias eschedule='php -f ~/Sites/local.ethode/schedule.php'
Be sure to do those 2 steps listed above, and to define the two config options in config.php