|
|
|
@ -1,5 +1,7 @@ |
|
|
|
|
# Go Task Reminder |
|
|
|
|
|
|
|
|
|
***unfinished*** |
|
|
|
|
|
|
|
|
|
## The Goal |
|
|
|
|
|
|
|
|
|
Create a **Task Reminder** application that will: |
|
|
|
@ -17,11 +19,32 @@ Of course, handle all the errors that are involved with this: |
|
|
|
|
The JSON structure should look like this: |
|
|
|
|
|
|
|
|
|
```json |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
"Tasks": |
|
|
|
|
[ |
|
|
|
|
{ |
|
|
|
|
"taskname": "Example Task", |
|
|
|
|
"taskdesc": "", |
|
|
|
|
"interval": 100, |
|
|
|
|
"cmd": "ls | wc -l" , |
|
|
|
|
"icon": "" |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
"taskname": "Second Example", |
|
|
|
|
"taskdesc": "catlol", |
|
|
|
|
"interval": 15, |
|
|
|
|
"cmd": "", |
|
|
|
|
"icon": "./assets/catlol.jpg" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
This file can be placed in either: |
|
|
|
|
## TODO |
|
|
|
|
* Create sample config |
|
|
|
|
* check these two locations for a config: |
|
|
|
|
* /home/user/.config/rem/tasks.json |
|
|
|
|
* /home/user/go/src/rem/tasks.json |
|
|
|
|
|
|
|
|
|
* More! |
|
|
|
|
|
|
|
|
|