#!/bin/sh | |
if [[ $# -eq 0 ]] ; then | |
echo ERROR: No command specified | |
echo | |
echo Available commands: | |
for command in $(ls /Applications/NDN.app/Contents/Platform/ 2>/dev/null); do | |
echo " $command" | |
done | |
exit 1 | |
fi | |
/Applications/NDN.app/Contents/Platform/"$@" |