#!/usr/bin/env bash
declare -- user
declare -- password
echo 'Info: Git cloning dotfiles.'
read -p 'Username: ' user
read -sp 'Password: ' password
url="https://${user}:${password}@git.lcarsnet.pgw.jp/gitbucket/git/kohei/dotfiles.git"
branch='master'
git clone -b "${branch}" "${url}"
echo 'done.'
cd 'dotfiles'
./setup.sh