-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuseful_tasks.json
51 lines (47 loc) · 1.69 KB
/
useful_tasks.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name":"Setup",
//Optional.
"env":{
//Optional. Specify the logging level as 'info', 'debug', or 'none'.
//Default="info"
"logLevel":"info"
},
"tasks":[
{
//To output a text
"type":"output",
"text":"Hello world!",
//Optional. 'console' or 'c', 'file-write' or 'fw', 'file-append' or 'fa'.
//Default="console"
"target":"file-write",
//Optional. But required on "target" is "file".
"path":"./test-vault/HelloWorld.md"
},
{
//To output a text
"type":"output",
"text":"",
//Optional. 'console' or 'c', 'file-write' or 'fw', 'file-append' or 'fa'.
//Default="console"
"target":"file-write",
//Optional. But required on "target" is "file".
"path":"./test-vault/.obsidian/plugins/.useless"
},
{
"type":"symlink",
//"TARGET PATH of SYMLINK"
"target":".",
//"SYMLINK DESTINATION PATH"
"path":"./test-vault/.obsidian/plugins/image-magician",
//Remove an existing path and recreate a symlink each time the process is executed
"forced":true,
//'dir', 'file', 'junction'
"linkType":"dir"
},
{
"type":"output",
"text":"##############################################################\nOpen obsidian application and open vault located at 'test-vault'\n##############################################################",
"target":"console"
}
]
}