Files
spring-cloud-function/scripts/registerSupplier.sh
2016-10-14 20:40:48 -04:00

17 lines
277 B
Bash
Executable File

#!/bin/bash
while getopts ":n:f:" opt; do
case $opt in
n)
NAME=$OPTARG
;;
f)
FUNC=$OPTARG
;;
esac
done
java -jar ../spring-cloud-function-core/target/spring-cloud-function-core-1.0.0.BUILD-SNAPSHOT-registrar.jar supplier\
$NAME\
$FUNC