File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- java -classpath ' /usr/local/app/vcell/lib/*' -Dvcell.installDir=/usr/local/app/vcell/installDir org.vcell.cli.CLIStandalone $1 $2 $3 $4 $5 $6
3
+ show_help () {
4
+ echo " usage: VCell [-h] [-q] -i ARCHIVE [-o OUT_DIR] [-v]"
5
+ echo " OPTIONS and ARGUMENTS:"
6
+ echo " -h,--help show this help message and exit"
7
+ echo " "
8
+ echo " -i,--archive <arg> Path to OMEX/COMBINE Archive file which contains one or more SED-ML encoded simulation experiments"
9
+ echo " "
10
+ echo " -o,--out-dir <arg> Directory to save outputs"
11
+ echo " "
12
+ echo " -q,--quiet Suppress all console output"
13
+ echo " "
14
+ echo " -v,--version Shows program's version number and exit"
15
+ echo " "
16
+ exit 1
17
+ }
18
+
19
+ if [[ $# -lt 1 ]]; then
20
+ show_help
21
+ fi
22
+
23
+ java -classpath ' /usr/local/app/vcell/lib/*' -Dvcell.installDir=/usr/local/app/vcell/installDir org.vcell.cli.CLIStandalone " $1 " " $2 " " $3 " " $4 " " $5 " " $6 "
You can’t perform that action at this time.
0 commit comments