added json example
This commit is contained in:
parent
0504561263
commit
e926e9fcc2
27
README.md
27
README.md
@ -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!
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user