lila/bin/lilarc

13 lines
195 B
Bash

#!/bin/sh
PROD_URL="http://en.lichess.org"
lilalog () {
echo -e "\x1b[7m[lila]\x1b[0m $1"
}
curl_prod () {
lilalog "Test $PROD_URL"
curl -sL -w "%{http_code}" -o /dev/null "$PROD_URL"
}