Added commandline interface
This commit is contained in:
parent
4a091297ed
commit
a585047427
13 changed files with 731 additions and 149 deletions
11
skel_unix/modman-cli.sh
Normal file
11
skel_unix/modman-cli.sh
Normal 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 "$@"
|
Loading…
Add table
Add a link
Reference in a new issue