π is a command line tool, inspired by tomatoπ .
π has the simplest UI design on par with MySQLπΆ and the most primitive data storage method
At the same time, π is also a very useful tool. Python beginners can use this project to practice your skills.
We strongly recommend using π with tmux on MacOS.
- use pypi(recommend)
$ python3 -m pip install watermelon-todo-list- use source code
# clone the source code
$ git clone git@github.com:Watermelon-Family/watermelon.git
# run the build.sh, you will get the watermelon-todo-list-0.0.X.tar.gz
$ sh build.sh
# use pip install π
$ python3 -m pip install dist/watermelon-todo-list-0.0.1.tar.gz- use release
# download the release, then
$ python3 -m pip install dist/watermelon-todo-list-0.0.1.tar.gzyou can use watermelon -h to get help
the command line argsπ
watermelon [options]
Options:
-h, --help show this help message and exit
-n NEW_EVENT create a event with priority like [name:priority]
-f FINISH_EVENT finish a event by name
-r REMOVE_EVENT remove a event by name
-l LIST_EVENT list event [day|week|month|year]
-g WORK start a timer with [work_time:break_time:event_name]
-a LIST_ACHIVE list achievement [day|week|month|year]
βοΈ: priority
π: 25min
# create a task
$ watermelon -n coding:5
# show the task list, you can also use week, month or year.
$ watermelon -l day
+---------+------------+----------+----------------------------+
| name | priority | use time | create time |
+---------+------------+----------+----------------------------+
| coding | βοΈβοΈβοΈβοΈβοΈ | | 2022-10-21 19:29:52.355550 |
+---------+------------+----------+----------------------------+
# start watermelon timer
$ watermelon -g 1:0:coding
It is a time to work! π
π [100%] 1:0 / 1:00 π
# finish the task by name
$ watermelon -f coding
# show the finish listπππ
$ watermelon -a week
+---------+------------+----------+----------------------------+
| name | priority | use time | finish time |
+---------+------------+----------+----------------------------+
| coding | βοΈβοΈβοΈβοΈβοΈ | π | 2022-10-21 19:32:29.411117 |
+---------+------------+----------+----------------------------+