#!/usr/bin/env bash
set -euo pipefail
if [ `which npx` ]; then
echo "test icloudpd..." &&
npx ${@:3} 1>$1 &&
cat $1
else
echo "No npx available"
touch $2
fi