https://github.com/adman/pytodo
Remember, edit and show your task easily via command line
https://github.com/adman/pytodo
Last synced: about 1 year ago
JSON representation
Remember, edit and show your task easily via command line
- Host: GitHub
- URL: https://github.com/adman/pytodo
- Owner: Adman
- License: apache-2.0
- Created: 2014-01-22T19:05:44.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-02-13T19:43:06.000Z (over 9 years ago)
- Last Synced: 2025-02-07T17:45:47.885Z (over 1 year ago)
- Language: Python
- Size: 22.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pyToDo
==========
Remember your tasks via terminal, show them and remove them when they are done!
Dependencies
------------
* Python 2.x+
* Pynotify
* If you have problem with old version of notity-send, follow
[this](http://www.webupd8.org/2014/04/configurable-notification-bubbles-for.html) tutorial.
## Usage
```bash
pytodo.py [-h] [-a NEW_TASK [NEW_TASK ...]] [-p {0,1,2}]
[-r TASK_ID_TO_REMOVE] [-e EDIT [EDIT ...]] [-i ID]
optional arguments:
-h, --help show this help message and exit
-a NEW_TASK [NEW_TASK ...], --add NEW_TASK [NEW_TASK ...]
Add a task into ToDo List
-p {0,1,2}, --priority {0,1,2}
Optional argument when adding a task to set priority.
Default 1. 0=low, 1=normal, 2=critical
-r TASK_ID_TO_REMOVE, --remove TASK_ID_TO_REMOVE
Remove tasks with given IDs
-e EDIT [EDIT ...], --edit EDIT [EDIT ...]
Edit task with given ID
-i ID, --id ID Provide this argument when you want to edit task with
this ID
```
## Examples:
* To add a task with priority
`$ ./pytodo.py -a My Critical Priority Task -p 2`
* To remove task with given ID
`$ ./pytodo.py -r 1`
* To edit task with specific ID
`$ ./pytodo.py -e New Text Of Task -i 1`
or run just `./pytodo.py` and see all the tasks