Alexander Afanasyev | b2cf5c0 | 2016-03-21 11:04:28 -0700 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
Alexander Afanasyev | 11ae34d | 2016-03-21 11:55:16 -0700 | [diff] [blame] | 3 | if [[ $# -eq 0 ]] ; then |
| 4 | echo ERROR: No command specified |
| 5 | echo |
| 6 | echo Available commands: |
Alexander Afanasyev | 964feb9 | 2016-03-22 13:03:11 -0700 | [diff] [blame] | 7 | for command in $(ls /Applications/NDN.app/Contents/Platform/ 2>/dev/null); do |
Alexander Afanasyev | 11ae34d | 2016-03-21 11:55:16 -0700 | [diff] [blame] | 8 | echo " $command" |
| 9 | done |
| 10 | exit 1 |
| 11 | fi |
| 12 | |
Alexander Afanasyev | 8e986f8 | 2016-03-21 14:19:15 -0700 | [diff] [blame] | 13 | /Applications/NDN.app/Contents/Platform/"$@" |