added basic interface

pull/1/head
Daniel Mikula 2023-05-15 09:44:07 +02:00
parent 51591c63a7
commit 914b05911c
1 changed files with 40 additions and 0 deletions

40
setup.sh Executable file
View File

@ -0,0 +1,40 @@
#!/bin/sh
# Author : NTT Data AG
# Date : 11-05-2023
show_help () {
echo "Usage: $0 [-m helm_install: bool] [-a app_name: str]"
}
helm_install=false
app_name=""
while getopts "hm:a:" option; do
case $option in
h)
show_help
exit 1
;;
m)
helm_install="$OPTARG"
;;
a)
app_name="$OPTARG"
;;
*)
show_help
exit 1
;;
esac
done
if [ "$helm_install" = "true" ]; then
echo "Installing helm"
fi
if [ -z "$app_name" ]; then
echo "Please specify app"
else
echo "Installing $app_name"
fi