2019-12-19 15:43:45 +00:00
|
|
|
#!/bin/bash
|
2019-12-19 14:53:51 +00:00
|
|
|
|
|
|
|
|
set -xeuo pipefail
|
|
|
|
|
|
2019-12-19 15:43:45 +00:00
|
|
|
node action.js json >/dev/null
|
|
|
|
|
node action.js txt
|
|
|
|
|
# check default arg
|
|
|
|
|
node action.js >/dev/null
|
|
|
|
|
node action.js shell
|
2019-12-20 12:42:04 +00:00
|
|
|
node action.js html
|
|
|
|
|
node action.js txt /tmp/hu-output
|
|
|
|
|
grep "Current humans" /tmp/hu-output
|
2019-12-19 14:53:51 +00:00
|
|
|
|