#!/bin/bash
printf "Use AI? (y/n) "
read a
if [[ $a =~ "y" ]]; then
  printf "\033[31mInstalling... (Please be patient)\033[m\012"
  npm i clever-bot-api &> /dev/null
  printf "\033[32mDone\033[m\012"
fi
printf "Use database? (y/n) "
read a
if [[ $a =~ "y" ]]; then
  printf "\033[31mInstalling (1/2)... (Please be patient)\033[m\012"
  npm i asset-js &> /dev/null
  printf "\033[1A\033[31mInstalling (2/2)... (Please be patient)\033[m\012"
  npm i asset-js-firestore &> /dev/null
  printf "\033[32mDone\033[m\012"
fi
