added json example

main
simonkellet 2 years ago
parent 0504561263
commit e926e9fcc2
  1. 33
      README.md

@ -1,5 +1,7 @@
# Go Task Reminder # Go Task Reminder
***unfinished*** ***unfinished***
## The Goal ## The Goal
Create a **Task Reminder** application that will: 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: The JSON structure should look like this:
```json ```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
* /home/user/.config/rem/tasks.json * Create sample config
* /home/user/go/src/rem/tasks.json * check these two locations for a config:
* /home/user/.config/rem/tasks.json
* /home/user/go/src/rem/tasks.json
* More!

Loading…
Cancel
Save