go==1.12.*
% go get -u github.com/chck/synr
# Set tokens in config/secrets.yaml
# slack: https://api.slack.com/docs/oauth-test-tokens
# chatwork: http://developer.chatwork.com/ja/authenticate.html
vi config/secrets.yaml
---
tokens:
chatwork: YOUR_CHARWORK_TOKEN
slack: YOUR_SLACK_TOKEN
# Show usage with options
% synr help
# Dry-run
% synr -c slack -d
# Run
% synr -c slack
# Run with selected months elapsed from last update (default: 1)
% synr -c slack -m 3
# Supported chats are slack and chatwork
% synr -c chatwork -m 3