dondakeshimo / todo-cli

manage todo list at cli
MIT License
5 stars 3 forks source link

Add --hide_remind_time option in configure #95

Closed y011d4 closed 3 years ago

y011d4 commented 3 years ago

チケット

N/A (I thought this P/R is a slight change. I open an issue if needed)

概要

To hide RemindTime column, --hide_remind_time option is implemented.


$ todo l
+----+--------------------------+----------------+-------+----------+----------+
| ID |           Task           |   RemindTime   | Group | Reminder | Priority |
+----+--------------------------+----------------+-------+----------+----------+
|  1 | scenario test 6          |                |       |          |       50 |
|  2 | test                     |                |       |          |      100 |
|  3 | scenario test modified 1 | 2099/1/1 12:00 |       |          |      100 |
|  4 | scenario test 2          | 2099/1/1 00:00 |       | macos    |      100 |
|  5 | シナリオテスト 7         |                |       |          |      100 |
|  6 | シナリオテスト 8         |                |       |          |      100 |
+----+--------------------------+----------------+-------+----------+----------+

$ todo conf --hide_remind_time=true

$ todo l
+----+--------------------------+-------+----------+----------+
| ID |           Task           | Group | Reminder | Priority |
+----+--------------------------+-------+----------+----------+
|  1 | scenario test 6          |       |          |       50 |
|  2 | test                     |       |          |      100 |
|  3 | scenario test modified 1 |       |          |      100 |
|  4 | scenario test 2          |       | macos    |      100 |
|  5 | シナリオテスト 7         |       |          |      100 |
|  6 | シナリオテスト 8         |       |          |      100 |
+----+--------------------------+-------+----------+----------+

$ todo conf --hide_remind_time=false

$ todo l
+----+--------------------------+----------------+-------+----------+----------+
| ID |           Task           |   RemindTime   | Group | Reminder | Priority |
+----+--------------------------+----------------+-------+----------+----------+
|  1 | scenario test 6          |                |       |          |       50 |
|  2 | test                     |                |       |          |      100 |
|  3 | scenario test modified 1 | 2099/1/1 12:00 |       |          |      100 |
|  4 | scenario test 2          | 2099/1/1 00:00 |       | macos    |      100 |
|  5 | シナリオテスト 7         |                |       |          |      100 |
|  6 | シナリオテスト 8         |                |       |          |      100 |
+----+--------------------------+----------------+-------+----------+----------+