10 lines
No EOL
226 B
Text
10 lines
No EOL
226 B
Text
var app = Application.currentApplication()
|
|
app.includeStandardAdditions = true
|
|
app.activate()
|
|
|
|
var res = app.{{.Operation}}({{json .Options}})
|
|
if (Array.isArray(res)) {
|
|
res.join({{json .Separator}})
|
|
} else {
|
|
res.toString()
|
|
} |