Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit d73a6c3

Browse files
dmiusDmitry
authored andcommitted
Nancy.sh added
1 parent 58ef40f commit d73a6c3

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

nancy.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/bash
2+
3+
cmd=""
4+
5+
case "$1" in
6+
run )
7+
cmd="./nancy_run.sh"
8+
shift
9+
;;
10+
workload )
11+
cmd="./nancy_workload.sh"
12+
shift
13+
;;
14+
help )
15+
echo "Here will be help! Comming soon."
16+
exit 1;
17+
;;
18+
* )
19+
>&2 echo "ERROR: Unknown command."
20+
exit 1;
21+
;;
22+
esac
23+
24+
while [ -n "$1" ]
25+
do
26+
cmd="$cmd $1"
27+
shift
28+
done
29+
30+
#echo "CMD: $cmd"
31+
${cmd}
32+

0 commit comments

Comments
 (0)