lila/bin/lilarc

13 lines
196 B
Bash

#!/bin/sh -e
PROD_URL="https://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"
}