Last active
January 6, 2020 00:18
-
-
Save calbertts/85d12674a21cc20f414835590a294b67 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -e "\n Downloading formatcss...\n" | |
platform=`uname -s` | |
distro=`cat /etc/*-release 2>/dev/null | grep ^ID=[A-Za-z]* | sed s/ID=/-/g | sed s/\"//g` | |
arch=`uname -m` | |
curl -sL -o /usr/bin/formatcss github.com/calbertts/formatcss/releases/latest/download/formatcss-$platform$distro-$arch | |
chmod a+x /usr/bin/formatcss | |
echo -e "\n Great!, now you can run 'formatcss' from anywhere\n\n Try with:\n \e[92mformatcss --url https://www.w3schools.com/w3css/4/w3.css\n\n\e[0m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment