ポモドーロ・テクニックお助け用スクリプト
コマンドラインからslackにリマインダを登録したり、
1日の総ポモドーロ数を集計したりする。
- Python3
- requests
- https://api.slack.com/ -> click 'Start Building'
- Create App
- Basic Information -> Add features and functionality -> Premissions
- Scopes -> User Token Scopes -> Add an OAuth Scope
$ pip3 install -r requirements.txt
- リマインダの登録
$ python3 pomoslack.py remind at 2020-04-16 00:25:00
- 60分後にリマインダを登録
$ python3 pomoslack.py -m 60 remind at 2020-04-16 01:00:00
- リマインダ文言と日付毎に集計する
$ python3 pomoslack.py -a +-------------+-----------+--------+ | time | text | count | +-------------+-----------+--------+ | 2020-04-14 | test | 1 | | 2020-04-14 | :tomato: | 10 | | 2020-04-15 | :tomato: | 13 | +-------------+-----------+--------+
MITっす。