local-ifttt:受IFTTT启发而在本地运行的Go程序

时间:2021-04-28 18:06:29
【文件属性】:
文件名称:local-ifttt:受IFTTT启发而在本地运行的Go程序
文件大小:4KB
文件格式:ZIP
更新时间:2021-04-28 18:06:29
Go 关于 这是一个受IFTTT启发的简化本地程序。 这个概念很简单,它从config.json中读取并执行“ if this”脚本。 如果“ if this”脚本返回0状态,则执行“ then this”脚本。 这个概念在“如果是”和“然后是这个”中考虑了广泛的可能性和复杂性,从重新启动过程到发送电子邮件都可以执行。 配置 该程序在执行它的相同位置查找config.json 。 选项在下面,并且提供了示例config.json 。 [ { " name " : " Find File Task " , //The name of the task " ifThis " : " ls | grep x -q " , //The script to run, returns 0 if thenThat should execute " thenThat " : " t
【文件预览】:
local-ifttt-master
----LICENSE(1KB)
----main.go(1KB)
----lib()
--------task_test.go(1KB)
--------task.go(874B)
----README.md(1KB)
----config.json(149B)

网友评论