Added commandline interface

This commit is contained in:
Vhati 2013-08-30 15:06:09 -04:00
parent 4a091297ed
commit a585047427
13 changed files with 731 additions and 149 deletions

11
skel_unix/modman-cli.sh Normal file
View file

@ -0,0 +1,11 @@
#!/bin/sh
# Get the absolute path to this script's folder.
if echo "$0" | awk '{exit(!/^\//);}'; then
maindir=$(dirname "$0");
else
maindir=$PWD/$(dirname "$0");
fi
cd "${maindir}"
java -jar modman.jar "$@"