UNPKG
runas-core
Version:
beta (0.1.1-beta.3)
latest (0.1.1)
0.1.1
0.1.1-beta.3
0.1.1-beta.2
0.1.0
The adhesive orchestrator
gitlab.com/runas/runas
runas-core
/
steps
/
weather
/
index.js
9 lines
(7 loc)
•
195 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
'use strict'
;
module
.
exports
= {
run
(
) {
this
.
logger
.
info
(
'Weather in '
,
'#green'
,
this
.
params
.
city
);
this
.
sh
(
`curl -s -A curl http://wttr.in/
${
this
.params.city}
`
,
null
,
true
); } };