#!/usr/bin/env bash

base_dir=$(pwd)

if [ "$1" == "" ];
    then
        echo $1
        #python validator.py

elif [ "$1" == "--install" ];
    then
        echo $1
        #echo "Installation in progress..."
        #git clone git@github.com:ko2-srls/HeatTemplateValidator.git &&
        #cd HeatTemplateValidator/ &&
        #sudo ./setup.sh &&
        echo "Now it is necessary that you do as follows:" &&
        echo "  - move the Heat files into the ./TemplateLocalStorage directory inside HeatTemplateValidator" &&
        echo "  - move the open.rc files into ./rc_files directory inside HeatTemplateValidator" &&
        echo "After this execute: htv --shadow"

elif [ "$1" == "--shadow" ] || [ "$1" == "-s" ];
    then
        echo $1
        #python shadow.py

elif [[ "$1" == *".sh"* ]];
    then
        echo $1
        echo $base_dir
        #python validator.py

fi