1
0
silverbullet/plugs/git/git.plug.json

38 lines
667 B
JSON
Raw Normal View History

2022-03-25 11:03:06 +00:00
{
"requiredPermissions": ["shell"],
"hooks": {
"commands": {
"Git: Snapshot": {
"invoke": "snapshotCommand"
},
"Git: Sync": {
"invoke": "syncCommand"
}
},
"crons": [
{
"cron": "*/15 * * * *",
"handler": "commit"
}
]
},
"functions": {
"snapshotCommand": {
"path": "./git.ts:snapshotCommand",
"env": "client"
},
"syncCommand": {
"path": "./git.ts:syncCommand",
"env": "client"
},
"commit": {
"path": "./git.ts:commit",
"env": "server"
},
"sync": {
"path": "./git.ts:sync",
"env": "server"
}
}
}