echo-e"\033[0;32mWelcome to the sgalinski CLI.\033[0m"
if[!-e ./sg-cli]
if[!-e ./sgc-core]
then
echo-e"\n\033[0;31mWrong directory! Call this script from the directory that contains the sg-cli folder! This is usually your project root directory.\033[0m\n";
echo-e"\n\033[0;31mWrong directory! Call this script from the directory that contains the sgc-core folder! This is usually your project root directory.\033[0m\n";
exit 1;
fi
echo-e"\033[0;32mSetup is in progress...\033[0m\n"
cd ./sg-cli
cd ./sgc-core
# check for nvm and install it if not present
echo-e"\033[0;32mSetup Node Version Manager...\033[0m\n"